ATLAS Offline Software
Loading...
Searching...
No Matches
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).
9
10// Framework include(s).
15#include "GaudiKernel/ToolHandle.h"
16
17namespace ActsTrk {
18
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
Tool providing CUDA-based traccc spacepoint formation algorithm.
virtual DeviceAlgorithmT< traccc::device::silicon_pixel_spacepoint_formation_algorithm > getAlgorithm(const EventContext &ctx) const override
Function constructing the traccc cuda clusterization algorithm.
ToolHandle< AthDevice::IMemoryResourcesTool > m_MRs
virtual StatusCode initialize() override
Function initializing the algorithm.
Convenience type for the "algorithm provider" tools.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...