ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsGPUPatternRecognition
src
cuda
CUDASeedingAlgProviderTool.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_CUDASEEDINGALGPROVIDERTOOL_H
5
#define ACTSGPUPATTERNRECOGNITION_CUDASEEDINGALGPROVIDERTOOL_H
6
7
#include "
AthenaBaseComps/AthAlgTool.h
"
8
#include "
AthDeviceInterfaces/IMemoryResourcesTool.h
"
9
#include "
AthDeviceInterfaces/ICopyTool.h
"
10
#include "
AthCUDAInterfaces/IStreamTool.h
"
11
#include "
../IDeviceSeedingAlgProviderTool.h
"
12
13
#include "vecmem/utils/cuda/copy.hpp"
14
15
#include <Gaudi/Property.h>
16
#include <memory>
17
#include <string>
18
19
namespace
ActsTrk
{
20
35
class
CUDASeedingAlgProviderTool
36
:
public
extends<AthAlgTool, IDeviceSeedingAlgProviderTool>
37
{
38
public
:
39
using
extends::extends;
41
virtual
StatusCode
initialize
()
override
;
42
45
46
virtual
std::pair<std::shared_ptr<const vecmem::copy>, std::shared_ptr<const traccc::device::triplet_seeding_algorithm>>
getTripletSeedingAlgorithm
(
const
EventContext& ctx,
const
traccc::seedfinder_config& seedfinder,
const
traccc::seedfilter_config& seedfilter)
const override
;
47
virtual
std::pair<std::shared_ptr<const vecmem::copy>, std::shared_ptr<const traccc::device::gbts_seeding_algorithm>>
getGBTSAlgorithm
(
const
EventContext& ctx,
const
traccc::gbts_seedfinder_config& gbts_config)
const override
;
48
49
50
private
:
51
53
ToolHandle<AthDevice::IMemoryResourcesTool>
m_MRs
{
54
this
,
"MemoryResourcesTool"
,
""
,
55
"The memory resources tool to use for allocating memory on the device"
};
56
58
ToolHandle<AthDevice::ICopyTool>
m_copy
{
59
this
,
"CopyProviderTool"
,
""
,
"Vecmem copy provider tool"
};
60
61
ToolHandle<AthCUDA::IStreamTool>
m_streamTool
{
62
this
,
"StreamTool"
,
""
,
"CUDA stream provider tool"
};
63
64
};
65
66
}
// namespace ActsTrk
67
68
#endif
// ACTSGPUPATTERNRECOGNITION_CUDASEEDINGALGPROVIDERTOOL_H
AthAlgTool.h
IStreamTool.h
ICopyTool.h
IDeviceSeedingAlgProviderTool.h
IMemoryResourcesTool.h
ActsTrk::CUDASeedingAlgProviderTool
Tool providing CUDA-based traccc seeding algorithm.
Definition
CUDASeedingAlgProviderTool.h:37
ActsTrk::CUDASeedingAlgProviderTool::m_MRs
ToolHandle< AthDevice::IMemoryResourcesTool > m_MRs
Definition
CUDASeedingAlgProviderTool.h:53
ActsTrk::CUDASeedingAlgProviderTool::getGBTSAlgorithm
virtual std::pair< std::shared_ptr< const vecmem::copy >, std::shared_ptr< const traccc::device::gbts_seeding_algorithm > > getGBTSAlgorithm(const EventContext &ctx, const traccc::gbts_seedfinder_config &gbts_config) const override
Definition
CUDASeedingAlgProviderTool.cxx:45
ActsTrk::CUDASeedingAlgProviderTool::initialize
virtual StatusCode initialize() override
Function initializing the algorithm.
Definition
CUDASeedingAlgProviderTool.cxx:13
ActsTrk::CUDASeedingAlgProviderTool::m_streamTool
ToolHandle< AthCUDA::IStreamTool > m_streamTool
Definition
CUDASeedingAlgProviderTool.h:61
ActsTrk::CUDASeedingAlgProviderTool::getTripletSeedingAlgorithm
virtual std::pair< std::shared_ptr< const vecmem::copy >, std::shared_ptr< const traccc::device::triplet_seeding_algorithm > > getTripletSeedingAlgorithm(const EventContext &ctx, const traccc::seedfinder_config &seedfinder, const traccc::seedfilter_config &seedfilter) const override
Function constructing the traccc cuda seeding algorithm.
Definition
CUDASeedingAlgProviderTool.cxx:26
ActsTrk::CUDASeedingAlgProviderTool::m_copy
ToolHandle< AthDevice::ICopyTool > m_copy
Definition
CUDASeedingAlgProviderTool.h:58
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