ATLAS Offline Software
Loading...
Searching...
No Matches
Control
AthDevice
AthDeviceComps
src
AthDevice/AthDeviceComps/src/HostMemoryResourceTool.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
//
4
#ifndef ATHDEVICECOMPS_HOSTMEMORYRESOURCETOOL_H
5
#define ATHDEVICECOMPS_HOSTMEMORYRESOURCETOOL_H
6
7
// Framework include(s).
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
10
// AthDevice include(s).
11
#include "
AthDeviceInterfaces/IMemoryResourceTool.h
"
12
13
namespace
AthDevice
{
14
19
class
HostMemoryResourceTool
:
public
extends<AthAlgTool, IMemoryResourceTool> {
20
21
public
:
22
// Inherit the base class's constructor(s).
23
using
extends::extends;
24
27
29
virtual
std::pmr::memory_resource&
mr
()
const override
;
30
32
33
};
// class HostMemoryResourceTool
34
35
}
// namespace AthDevice
36
37
#endif
// ATHDEVICECOMPS_HOSTMEMORYRESOURCETOOL_H
AthAlgTool.h
IMemoryResourceTool.h
AthDevice::HostMemoryResourceTool
Tool providing a basic, host-side memory resource.
Definition
AthDevice/AthDeviceComps/src/HostMemoryResourceTool.h:19
AthDevice::HostMemoryResourceTool::mr
virtual std::pmr::memory_resource & mr() const override
Get the provided std::pmr::memory_resource object.
Definition
AthDevice/AthDeviceComps/src/HostMemoryResourceTool.cxx:14
AthDevice
Definition
BinaryPageMemoryResourceSvc.cxx:15
Generated on
for ATLAS Offline Software by
1.16.1