ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsGPUPatternRecognition
src
cuda
CUDATrkParamAlgProviderTool.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 ACTSGPUPATTERNRECOGNITION_CUDATRKPARAMALGPROVIDERTOOL_H
5
#define ACTSGPUPATTERNRECOGNITION_CUDATRKPARAMALGPROVIDERTOOL_H
6
7
// Local include(s).
8
#include "
../IDeviceTrkParamAlgProviderTool.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
34
class
CUDATrkParamAlgProviderTool
35
:
public
extends<AthAlgTool, IDeviceTrkParamAlgProviderTool> {
36
public
:
37
using
extends::extends;
39
virtual
StatusCode
initialize
()
override
;
40
43
virtual
DeviceAlgorithmT<traccc::device::seed_parameter_estimation_algorithm>
44
getAlgorithm
(
const
EventContext& ctx,
45
const
traccc::track_params_estimation_config& trkparam_config)
46
const override
;
47
48
private
:
51
ToolHandle<AthDevice::IMemoryResourcesTool>
m_MRs
{
52
this
,
"MemoryResourcesTool"
,
""
,
53
"The memory resources tool to use for allocating memory on the device"
};
54
56
ToolHandle<AthDevice::ICopyTool>
m_copy
{
this
,
"CopyProviderTool"
,
""
,
57
"Vecmem copy provider tool"
};
58
59
ToolHandle<AthCUDA::IStreamTool>
m_streamTool
{
this
,
"StreamTool"
,
""
,
60
"CUDA stream provider tool"
};
61
62
};
// class CUDATrkParamAlgProviderTool
63
64
}
// namespace ActsTrk
65
66
#endif
// ACTSGPUPATTERNRECOGNITION_CUDATRKPARAMALGPROVIDERTOOL_H
AthAlgTool.h
IStreamTool.h
ICopyTool.h
IDeviceTrkParamAlgProviderTool.h
IMemoryResourcesTool.h
ActsTrk::CUDATrkParamAlgProviderTool
Tool providing CUDA-based traccc track parameter estimation algorithm.
Definition
CUDATrkParamAlgProviderTool.h:35
ActsTrk::CUDATrkParamAlgProviderTool::m_MRs
ToolHandle< AthDevice::IMemoryResourcesTool > m_MRs
Definition
CUDATrkParamAlgProviderTool.h:51
ActsTrk::CUDATrkParamAlgProviderTool::m_streamTool
ToolHandle< AthCUDA::IStreamTool > m_streamTool
Definition
CUDATrkParamAlgProviderTool.h:59
ActsTrk::CUDATrkParamAlgProviderTool::m_copy
ToolHandle< AthDevice::ICopyTool > m_copy
Definition
CUDATrkParamAlgProviderTool.h:56
ActsTrk::CUDATrkParamAlgProviderTool::getAlgorithm
virtual DeviceAlgorithmT< traccc::device::seed_parameter_estimation_algorithm > getAlgorithm(const EventContext &ctx, const traccc::track_params_estimation_config &trkparam_config) const override
Function constructing the traccc cuda track parameter estimation algorithm.
Definition
CUDATrkParamAlgProviderTool.cxx:29
ActsTrk::CUDATrkParamAlgProviderTool::initialize
virtual StatusCode initialize() override
Function initializing the algorithm.
Definition
CUDATrkParamAlgProviderTool.cxx:16
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