Skip to content

File memorymanager.h

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

Go to the source code of this file

  • #include "TempLat/lattice/ghostcells/ghoststatekeeper.h"
  • #include "TempLat/lattice/memory/memoryblock.h"
  • #include "TempLat/lattice/memory/memorylayoutstate.h"
  • #include "TempLat/lattice/memory/memorytoolbox.h"
  • #include "TempLat/parallel/device_memory.h"
  • #include <span>
  • #include <vector>

Namespaces

Type Name
namespace TempLat

Classes

Type Name
class MemoryManager <typename T, NDim>
A class which holds a single lattice in memory, and tracks and moves between various ghost states. Templated for the memory type, typically float or double. All the confirm___Space() functions return a device::Idx, which counts the amount of work done. Ignore that, but it is important for testing purposes. NOTE that the memory access operators (T* and operator[]) do NOT verify if memory was allocated.

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