![]() |
ATLAS Offline Software
|
Tool providing memory resource for managed host/device memory. More...
#include <ManagedMemoryResourceTool.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 |
Get the provided std::pmr::memory_resource object. | |
Private Attributes | |
| std::unique_ptr< std::pmr::memory_resource > | m_mr |
| The memory resource that this tool uses. | |
Tool providing memory resource for managed host/device memory.
Making use of vecmem::hip::managed_memory_resource.
Definition at line 19 of file AthHIP/AthHIPComps/src/ManagedMemoryResourceTool.h.
|
overridevirtual |
Initialize the tool.
Definition at line 16 of file AthHIP/AthHIPComps/src/ManagedMemoryResourceTool.cxx.
|
overridevirtual |
Get the provided std::pmr::memory_resource object.
Definition at line 25 of file AthHIP/AthHIPComps/src/ManagedMemoryResourceTool.cxx.
|
private |
The memory resource that this tool uses.
Definition at line 44 of file AthHIP/AthHIPComps/src/ManagedMemoryResourceTool.h.