ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsGPUDataPreparation
src
cuda
CUDASPFormationAlgProviderTool.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 ACTSGPUDATAPREPARATION_CUDASPFORMATIONALGPROVIDERTOOL_H
5
#define ACTSGPUDATAPREPARATION_CUDASPFORMATIONALGPROVIDERTOOL_H
6
7
// Local include(s).
8
#include "
../IDeviceSPFormationAlgProviderTool.h
"
9
10
// Framework include(s).
11
#include "
AthCUDAInterfaces/IStreamTool.h
"
12
#include "
AthDeviceInterfaces/ICopyTool.h
"
13
#include "
AthDeviceInterfaces/IMemoryResourcesTool.h
"
14
#include "
AthenaBaseComps/AthAlgTool.h
"
15
#include "GaudiKernel/ToolHandle.h"
16
17
namespace
ActsTrk
{
18
33
class
CUDASPFormationAlgProviderTool
34
:
public
extends<AthAlgTool, IDeviceSPFormationAlgProviderTool> {
35
public
:
36
using
extends::extends;
38
virtual
StatusCode
initialize
()
override
;
39
42
virtual
DeviceAlgorithmT
<
43
traccc::device::silicon_pixel_spacepoint_formation_algorithm>
44
getAlgorithm
(
const
EventContext& ctx)
const override
;
45
46
private
:
49
ToolHandle<AthDevice::IMemoryResourcesTool>
m_MRs
{
50
this
,
"MemoryResourcesTool"
,
""
,
51
"The memory resources tool to use for allocating memory on the device"
};
52
54
ToolHandle<AthDevice::ICopyTool>
m_copy
{
this
,
"CopyProviderTool"
,
""
,
55
"Vecmem copy provider tool"
};
56
57
ToolHandle<AthCUDA::IStreamTool>
m_streamTool
{
this
,
"StreamTool"
,
""
,
58
"CUDA stream provider tool"
};
59
};
60
61
}
// namespace ActsTrk
62
63
#endif
// ACTSGPUDATAPREPARATION_CUDASPFORMATIONALGPROVIDERTOOL_H
AthAlgTool.h
IStreamTool.h
ICopyTool.h
IDeviceSPFormationAlgProviderTool.h
IMemoryResourcesTool.h
ActsTrk::CUDASPFormationAlgProviderTool
Tool providing CUDA-based traccc spacepoint formation algorithm.
Definition
CUDASPFormationAlgProviderTool.h:34
ActsTrk::CUDASPFormationAlgProviderTool::m_copy
ToolHandle< AthDevice::ICopyTool > m_copy
Definition
CUDASPFormationAlgProviderTool.h:54
ActsTrk::CUDASPFormationAlgProviderTool::getAlgorithm
virtual DeviceAlgorithmT< traccc::device::silicon_pixel_spacepoint_formation_algorithm > getAlgorithm(const EventContext &ctx) const override
Function constructing the traccc cuda clusterization algorithm.
Definition
CUDASPFormationAlgProviderTool.cxx:29
ActsTrk::CUDASPFormationAlgProviderTool::m_MRs
ToolHandle< AthDevice::IMemoryResourcesTool > m_MRs
Definition
CUDASPFormationAlgProviderTool.h:49
ActsTrk::CUDASPFormationAlgProviderTool::initialize
virtual StatusCode initialize() override
Function initializing the algorithm.
Definition
CUDASPFormationAlgProviderTool.cxx:16
ActsTrk::CUDASPFormationAlgProviderTool::m_streamTool
ToolHandle< AthCUDA::IStreamTool > m_streamTool
Definition
CUDASPFormationAlgProviderTool.h:57
ActsTrk::DeviceAlgorithmT
Convenience type for the "algorithm provider" tools.
Definition
DeviceAlgorithmT.h:15
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
Generated on
for ATLAS Offline Software by
1.17.0