Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Cuda::MemoryManager::DeviceMemory Struct Reference

Public Attributes

std::size_t m_size = 0
 The amount of memory allocated on the CUDA device.
 
char * m_ptr = nullptr
 Pointer to the beginning of the memory allocation.
 
char * m_nextAllocation = nullptr
 Pointer to the next available memory block in the "current round".
 
std::ptrdiff_t m_maxUsage = 0
 The maximum amount of memory used at a time during the job.
 

Detailed Description

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

Definition at line 87 of file MemoryManager.hpp.

View newest version in sPHENIX GitHub at line 87 of file MemoryManager.hpp

Member Data Documentation

std::ptrdiff_t Acts::Cuda::MemoryManager::DeviceMemory::m_maxUsage = 0

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

Definition at line 95 of file MemoryManager.hpp.

View newest version in sPHENIX GitHub at line 95 of file MemoryManager.hpp

char* Acts::Cuda::MemoryManager::DeviceMemory::m_nextAllocation = nullptr

Pointer to the next available memory block in the "current round".

Definition at line 93 of file MemoryManager.hpp.

View newest version in sPHENIX GitHub at line 93 of file MemoryManager.hpp

char* Acts::Cuda::MemoryManager::DeviceMemory::m_ptr = nullptr

Pointer to the beginning of the memory allocation.

Definition at line 91 of file MemoryManager.hpp.

View newest version in sPHENIX GitHub at line 91 of file MemoryManager.hpp

std::size_t Acts::Cuda::MemoryManager::DeviceMemory::m_size = 0

The amount of memory allocated on the CUDA device.

Definition at line 89 of file MemoryManager.hpp.

View newest version in sPHENIX GitHub at line 89 of file MemoryManager.hpp


The documentation for this struct was generated from the following file: