Skip to content

File memoryblock.h

FileList > code_source > templat > include > TempLat > lattice > memory > memoryblock.h

Go to the source code of this file

  • #include "TempLat/util/exception.h"
  • #include "TempLat/util/log/log.h"
  • #include "TempLat/parallel/device_memory.h"

Namespaces

Type Name
namespace TempLat

Classes

Type Name
class MemoryBlock <typename T, NDim>
A class which holds a block of memory. Feel free to pass it around and copy: the pointer is itself kept inside a shared pointer. Only when the last owner is destructed, the memory is freed.

The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/memory/memoryblock.h