Struct Acts::Cuda::MemoryManager::DeviceMemory

struct DeviceMemory

Struct describing the state of the memory allocation on a particular device.

Public Members

std::ptrdiff_t m_maxUsage = 0

The maximum amount of memory used at a time during the job.

char *m_nextAllocation = nullptr

Pointer to the next available memory block in the “current round”.

char *m_ptr = nullptr

Pointer to the beginning of the memory allocation.

std::size_t m_size = 0

The amount of memory allocated on the CUDA device.