 |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef EFTRACKING_FPGA_INTEGRATION_F1X0XRTIntegrationAlg_H
10 #define EFTRACKING_FPGA_INTEGRATION_F1X0XRTIntegrationAlg_H
20 #include "GaudiKernel/ServiceHandle.h"
21 #include "GaudiKernel/IChronoSvc.h"
26 #include <xrt/xrt_device.h>
27 #include <xrt/xrt_kernel.h>
28 #include <xrt/xrt_bo.h>
29 #include <xrt/xrt_uuid.h>
46 using IntegrationBase::IntegrationBase;
60 Gaudi::Property<int>
m_FPGAThreads{
this,
"FPGAThreads", 1,
"number of FPGA threads to initialize"};
63 this,
"xclbin",
"",
"xclbin path and name"};
66 this,
"doF110",
false,
"Run F110 instead of F100"};
69 this,
"PixelEDMPrepKernelName",
"",
"Name of the Pixel EDM kernel"};
72 this,
"StripEDMPrepKernelName",
"",
"Name of the Strip EDM kernel"};
75 this,
"PixelClusterKernelName",
"",
"Name of the pixel clustering kernel"};
78 this,
"StripClusterKernelName",
"",
"Name of the strip clustering kernel"};
81 this,
"PixelL2GKernelName",
"",
"Name of the pixel L2G kernel"};
84 this,
"StripL2GKernelName",
"",
"Name of the strip L2G kernel"};
139 #endif // EFTRACKING_FPGA_INTEGRATION_F1X0XRTIntegrationAlg_H
Gaudi::Property< bool > m_doF110
Boolean to run F110 instead of F100.
The base class for the EFTracking FPGA integration development.
ServiceHandle< IChronoSvc > m_chronoSvc
Service for timing the algorithm.
std::atomic< uint64_t > m_pixelClusteringTime
Time for pixel clustering.
std::atomic< uint64_t > m_stripL2GTime
Time for strip L2G.
std::atomic< uint64_t > m_pixelOutputTime
Time for pixel output buffer read.
SG::ReadHandleKey< std::vector< uint64_t > > m_FPGAPixelRDO
Gaudi::Property< int > m_FPGAThreads
Gaudi::Property< std::string > m_stripClusterKernelName
std::atomic< uint64_t > m_kernelTime
Time window covering kernel execution.
std::atomic< uint64_t > m_stripInputTime
Time for strip input buffer write.
std::atomic< uint64_t > m_pixelL2GTime
Time for pixel L2G (F100)
std::vector< xrt::bo > m_stripClusterInputBOList ATLAS_THREAD_SAFE
std::atomic< uint64_t > m_pixelInputTime
Time for pixel input buffer write.
Gaudi::Property< std::string > m_pixelEdmKernelName
void getListofCUs(std::vector< std::string > &cuNames)
std::vector< xrt::bo > m_edmStripOutputBOList ATLAS_THREAD_SAFE
std::vector< xrt::bo > m_pixelL2GEDMOutputBOList ATLAS_THREAD_SAFE
virtual StatusCode execute(const EventContext &ctx) const override final
Should be overriden by derived classes to perform meaningful work.
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< std::string > m_pixelClusterKernelName
SG::ReadHandleKey< std::vector< uint64_t > > m_FPGAStripRDO
std::vector< xrt::kernel > m_stripClusteringKernels ATLAS_THREAD_SAFE
std::atomic< uint64_t > m_numEvents
Number of events processed.
Property holding a SG store/key/clid from which a WriteHandle is made.
std::atomic< uint64_t > m_stripEdmPrepTime
Time for strip EDM preparation (F110)
virtual StatusCode finalize() override final
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::string > m_pixelL2GKernelName
The class for enconding RDO to FPGA format.
std::vector< xrt::kernel > m_stripEdmPrepKernels ATLAS_THREAD_SAFE
Gaudi::Property< std::string > m_xclbin
Path and name of the xclbin file.
std::vector< xrt::bo > m_pixelL2GOutputBOList ATLAS_THREAD_SAFE
std::atomic< uint64_t > m_stripOutputTime
Time for strip output buffer read.
std::vector< xrt::kernel > m_pixelClusteringKernels ATLAS_THREAD_SAFE
std::vector< xrt::bo > m_pixelClusterEDMOutputBOList ATLAS_THREAD_SAFE
std::vector< xrt::bo > m_pixelClusterInputBOList ATLAS_THREAD_SAFE
virtual StatusCode initialize() override final
Detect the OpenCL devices and prepare OpenCL context.
std::vector< xrt::bo > m_edmPixelOutputBOList ATLAS_THREAD_SAFE
SG::WriteHandleKey< std::vector< uint64_t > > m_FPGAPixelOutput
std::atomic< uint64_t > m_edmPrepTime
Time for EDM preparation (F100)
std::vector< xrt::kernel > m_pixelEdmPrepKernels ATLAS_THREAD_SAFE
std::vector< xrt::bo > m_stripClusterOutputBOList ATLAS_THREAD_SAFE
Gaudi::Property< std::string > m_stripEdmKernelName
Gaudi::Property< std::string > m_stripL2GKernelName
std::vector< xrt::bo > m_pixelClusterOutputBOList ATLAS_THREAD_SAFE
std::vector< xrt::bo > m_stripClusterEDMOutputBOList ATLAS_THREAD_SAFE
std::vector< xrt::kernel > m_pixelL2GKernels ATLAS_THREAD_SAFE
std::vector< xrt::bo > m_stripL2GEDMOutputBOList ATLAS_THREAD_SAFE
std::atomic< uint64_t > m_pixelEdmPrepTime
Time for pixel EDM preparation (F110)
std::vector< xrt::bo > m_stripL2GOutputBOList ATLAS_THREAD_SAFE
Benchmark algorithm for FPGA integration and output conversion.
SG::WriteHandleKey< std::vector< uint64_t > > m_FPGAStripOutput
std::vector< xrt::kernel > m_stripL2GKernels ATLAS_THREAD_SAFE
std::atomic< uint64_t > m_stripClusteringTime
Time for strip clustering.