ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsGPUDataPreparation
src
cuda
CUDAClusterizationAlgProviderTool.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_CUDACLUSTERIZATIONALGPROVIDERTOOL_H
5
#define ACTSGPUDATAPREPARATION_CUDACLUSTERIZATIONALGPROVIDERTOOL_H
6
7
// Local include(s).
8
#include "
../IDeviceClusterizationAlgProviderTool.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 "Gaudi/Property.h"
16
#include "GaudiKernel/ToolHandle.h"
17
18
namespace
ActsTrk
{
19
34
class
CUDAClusterizationAlgProviderTool
35
:
public
extends<AthAlgTool, IDeviceClusterizationAlgProviderTool> {
36
public
:
37
using
extends::extends;
39
virtual
StatusCode
initialize
()
override
;
40
43
virtual
DeviceAlgorithmT<traccc::device::clusterization_algorithm>
44
getClusterizationAlgorithm
(
const
EventContext& ctx)
const override
;
45
49
virtual
DeviceAlgorithmT<sorting_algorithm_type>
getSortingAlgorithm
(
50
const
EventContext& ctx)
const override
;
51
52
private
:
53
traccc::clustering_config
m_clusteringConfig
{};
54
56
Gaudi::Property<bool>
m_sortCells
{
57
this
,
"CellSorting"
,
true
,
58
"Whether to sort traccc cells on GPU prior to clusterization"
};
59
61
ToolHandle<AthDevice::IMemoryResourcesTool>
m_MRs
{
62
this
,
"MemoryResourcesTool"
,
""
,
63
"The memory resources tool to use for allocating memory on the device"
};
64
66
ToolHandle<AthDevice::ICopyTool>
m_copy
{
this
,
"CopyProviderTool"
,
""
,
67
"Vecmem copy provider tool"
};
68
69
ToolHandle<AthCUDA::IStreamTool>
m_streamTool
{
this
,
"StreamTool"
,
""
,
70
"CUDA stream provider tool"
};
71
};
72
73
}
// namespace ActsTrk
74
75
#endif
// ACTSGPUDATAPREPARATION_CUDACLUSTERIZATIONALGPROVIDERTOOL_H
AthAlgTool.h
IStreamTool.h
ICopyTool.h
IDeviceClusterizationAlgProviderTool.h
IMemoryResourcesTool.h
ActsTrk::CUDAClusterizationAlgProviderTool
Tool providing CUDA-based traccc clusterization and measurement sorting algorithms.
Definition
CUDAClusterizationAlgProviderTool.h:35
ActsTrk::CUDAClusterizationAlgProviderTool::getSortingAlgorithm
virtual DeviceAlgorithmT< sorting_algorithm_type > getSortingAlgorithm(const EventContext &ctx) const override
Function constructing the traccc cuda measurement sorting algorithm Neccesary because the CKF require...
Definition
CUDAClusterizationAlgProviderTool.cxx:48
ActsTrk::CUDAClusterizationAlgProviderTool::m_clusteringConfig
traccc::clustering_config m_clusteringConfig
Definition
CUDAClusterizationAlgProviderTool.h:53
ActsTrk::CUDAClusterizationAlgProviderTool::initialize
virtual StatusCode initialize() override
Function initializing the algorithm.
Definition
CUDAClusterizationAlgProviderTool.cxx:17
ActsTrk::CUDAClusterizationAlgProviderTool::getClusterizationAlgorithm
virtual DeviceAlgorithmT< traccc::device::clusterization_algorithm > getClusterizationAlgorithm(const EventContext &ctx) const override
Function constructing the traccc cuda clusterization algorithm.
Definition
CUDAClusterizationAlgProviderTool.cxx:32
ActsTrk::CUDAClusterizationAlgProviderTool::m_streamTool
ToolHandle< AthCUDA::IStreamTool > m_streamTool
Definition
CUDAClusterizationAlgProviderTool.h:69
ActsTrk::CUDAClusterizationAlgProviderTool::m_sortCells
Gaudi::Property< bool > m_sortCells
Definition
CUDAClusterizationAlgProviderTool.h:56
ActsTrk::CUDAClusterizationAlgProviderTool::m_copy
ToolHandle< AthDevice::ICopyTool > m_copy
Definition
CUDAClusterizationAlgProviderTool.h:66
ActsTrk::CUDAClusterizationAlgProviderTool::m_MRs
ToolHandle< AthDevice::IMemoryResourcesTool > m_MRs
Definition
CUDAClusterizationAlgProviderTool.h:61
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