ATLAS Offline Software
Loading...
Searching...
No Matches
AthDevice::HostMemoryResourceTool Class Reference

Tool providing a basic, host-side memory resource. More...

#include <HostMemoryResourceTool.h>

Inheritance diagram for AthDevice::HostMemoryResourceTool:
Collaboration diagram for AthDevice::HostMemoryResourceTool:

Public Member Functions

Function(s) inherited from @c IMemoryResourceTool
virtual std::pmr::memory_resource & mr () const override
 Get the provided std::pmr::memory_resource object.

Detailed Description

Tool providing a basic, host-side memory resource.

The memory resource provided by this tool is thread safe.

Definition at line 19 of file AthDevice/AthDeviceComps/src/HostMemoryResourceTool.h.

Member Function Documentation

◆ mr()

std::pmr::memory_resource & AthDevice::HostMemoryResourceTool::mr ( ) const
overridevirtual

Get the provided std::pmr::memory_resource object.

Definition at line 14 of file AthDevice/AthDeviceComps/src/HostMemoryResourceTool.cxx.

14 {
15
16 return *(std::pmr::new_delete_resource());
17}

The documentation for this class was generated from the following files: