![]() |
ATLAS Offline Software
|
Tool implementing AthDevice::IMemoryResourcesTool using two tools.
More...
#include <MemoryResourcesAdaptorTool.h>
Public Member Functions | |
Function(s) inherited from @c AthAlgTool | |
| virtual StatusCode | initialize () override |
| Initialize the tool. | |
Function(s) inherited from @c IMemoryResourcesTool | |
| virtual std::pmr::memory_resource & | mainMR () const override |
Get the "main" / "device" std::pmr::memory_resource object. | |
| virtual std::pmr::memory_resource * | hostMR () const override |
Get the "host" (accessible) std::pmr::memory_resource object. | |
Private Attributes | |
| ToolHandle< IMemoryResourceTool > | m_mainMRTool |
| Handle to the "main" / "device" memory resource tool. | |
| ToolHandle< IMemoryResourceTool > | m_hostMRTool |
| Handle to the "host" (accessible) memory resource tool. | |
Tool implementing AthDevice::IMemoryResourcesTool using two tools.
This is the simplest way of implementing the AthDevice::IMemoryResourcesTool interface. By making use of two individual AthDevice::IMemoryResourceTool tools.
Definition at line 23 of file MemoryResourcesAdaptorTool.h.
|
overridevirtual |
Get the "host" (accessible) std::pmr::memory_resource object.
Definition at line 26 of file MemoryResourcesAdaptorTool.cxx.
|
overridevirtual |
Initialize the tool.
Definition at line 10 of file MemoryResourcesAdaptorTool.cxx.
|
overridevirtual |
Get the "main" / "device" std::pmr::memory_resource object.
Definition at line 21 of file MemoryResourcesAdaptorTool.cxx.
|
private |
Handle to the "host" (accessible) memory resource tool.
Definition at line 55 of file MemoryResourcesAdaptorTool.h.
|
private |
Handle to the "main" / "device" memory resource tool.
Definition at line 51 of file MemoryResourcesAdaptorTool.h.