ATLAS Offline Software
Loading...
Searching...
No Matches
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// Local include(s).
9
10// Framework include(s).
15#include "GaudiKernel/ToolHandle.h"
16
17namespace ActsTrk {
18
34 : public extends<AthAlgTool, IDeviceSeedingAlgProviderTool> {
35 public:
36 using extends::extends;
38 virtual StatusCode initialize() override;
39
44 const EventContext& ctx, const traccc::seedfinder_config& seedfinder,
45 const traccc::spacepoint_grid_config& grid,
46 const traccc::seedfilter_config& seedfilter) const override;
50 const EventContext& ctx,
51 const traccc::gbts_seedfinder_config& gbts_config) const override;
52
53 private:
56 ToolHandle<AthDevice::IMemoryResourcesTool> m_MRs{
57 this, "MemoryResourcesTool", "",
58 "The memory resources tool to use for allocating memory on the device"};
59
61 ToolHandle<AthDevice::ICopyTool> m_copy{this, "CopyProviderTool", "",
62 "Vecmem copy provider tool"};
63
64 ToolHandle<AthCUDA::IStreamTool> m_streamTool{this, "StreamTool", "",
65 "CUDA stream provider tool"};
66};
67
68} // namespace ActsTrk
69
70#endif // ACTSGPUPATTERNRECOGNITION_CUDASEEDINGALGPROVIDERTOOL_H
Tool providing CUDA-based traccc seeding algorithm.
virtual DeviceAlgorithmT< traccc::device::gbts_seeding_algorithm > getGBTSAlgorithm(const EventContext &ctx, const traccc::gbts_seedfinder_config &gbts_config) const override
Get the device specific GBTS seeding algorithm.
ToolHandle< AthDevice::IMemoryResourcesTool > m_MRs
virtual StatusCode initialize() override
Function initializing the algorithm.
ToolHandle< AthCUDA::IStreamTool > m_streamTool
virtual DeviceAlgorithmT< traccc::device::triplet_seeding_algorithm > getTripletSeedingAlgorithm(const EventContext &ctx, const traccc::seedfinder_config &seedfinder, const traccc::spacepoint_grid_config &grid, const traccc::seedfilter_config &seedfilter) const override
Function constructing the traccc cuda seeding algorithm.
ToolHandle< AthDevice::ICopyTool > m_copy
Convenience type for the "algorithm provider" tools.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...