![]() |
ATLAS Offline Software
|
Tool providing memory resource for device memory. More...
#include <DeviceMemoryResourceTool.h>
Public Member Functions | |
Function(s) inherited from @c AthAlgTool | |
| virtual StatusCode | initialize () override |
| Initialize the tool. | |
Function(s) inherited from @c AthDevice::IMemoryResourceTool | |
| virtual std::pmr::memory_resource & | mr () const override |
Private Attributes | |
| std::unique_ptr< std::pmr::memory_resource > | m_mr |
| The memory resource that this tool uses. | |
Tool properties | |
| Gaudi::Property< int > | m_deviceID |
| Device to allocate memory on. | |
Tool providing memory resource for device memory.
Making use of vecmem::cuda::device_memory_resource.
Definition at line 22 of file DeviceMemoryResourceTool.h.
|
overridevirtual |
Initialize the tool.
Definition at line 13 of file DeviceMemoryResourceTool.cxx.
|
overridevirtual |
Definition at line 22 of file DeviceMemoryResourceTool.cxx.
|
private |
Device to allocate memory on.
Definition at line 52 of file DeviceMemoryResourceTool.h.
|
private |
The memory resource that this tool uses.
Definition at line 46 of file DeviceMemoryResourceTool.h.