 |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef EFTRACKING_FPGA_INTEGRATION_F100IntegrationAlg_H
10 #define EFTRACKING_FPGA_INTEGRATION_F100IntegrationAlg_H
20 #include "GaudiKernel/ServiceHandle.h"
21 #include "GaudiKernel/IChronoSvc.h"
36 using IntegrationBase::IntegrationBase;
50 Gaudi::Property<int>
m_FPGAThreads{
this,
"FPGAThreads", 1,
"number of FPGA threads to initialize"};
53 this,
"xclbin",
"",
"xclbin path and name"};
56 this,
"doF110",
"",
"Run F110 instead of F100"};
59 this,
"EDMPrepKernelName",
"",
"Name of the FPGA kernel"};
62 this,
"PixelEDMPrepKernelName",
"",
"Name of the FPGA kernel"};
65 this,
"StripEDMPrepKernelName",
"",
"Name of the FPGA kernel"};
68 this,
"PixelClusterKernelName",
"",
"Name of the pixel clustering kernel"};
71 this,
"StripClusterKernelName",
"",
"Name of the strip clustering kernel"};
74 this,
"PixelL2GKernelName",
"",
"Name of the pixel L2G kernel"};
77 this,
"StripL2GKernelName",
"",
"Name of the strip L2G kernel"};
134 #endif // EFTRACKING_FPGA_INTEGRATION_F100IntegrationAlg_H
std::atomic< cl_ulong > m_kernelTime
Time for kernel execution.
SG::WriteHandleKey< std::vector< uint64_t > > m_FPGAStripOutput
The base class for the EFTracking FPGA integration development.
std::vector< cl::Buffer > m_edmPixelOutputBufferList
std::vector< cl::Buffer > m_pixelL2GOutputBufferList
std::atomic< cl_ulong > m_stripEdmPrepTime
Time for strip EDM preparation.
std::atomic< cl_ulong > m_pixelEdmPrepTime
Time for pixel EDM preparation.
std::vector< cl::Buffer > m_stripL2GOutputBufferList
std::vector< cl::Kernel > m_edmPrepKernels ATLAS_THREAD_SAFE
std::vector< cl::Kernel > m_pixelEdmPrepKernels ATLAS_THREAD_SAFE
SG::ReadHandleKey< std::vector< uint64_t > > m_FPGAStripRDO
Gaudi::Property< std::string > m_xclbin
Path and name of the xclbin file.
std::atomic< cl_ulong > m_pixelL2GTime
Time for pixel L2G.
Gaudi::Property< int > m_FPGAThreads
void getListofCUs(std::vector< std::string > &cuNames)
Gaudi::Property< std::string > m_pixelEdmKernelName
Name of the FPGA kernel.
std::vector< cl::Kernel > m_stripL2GKernels ATLAS_THREAD_SAFE
std::atomic< ulonglong > m_numEvents
Number of events processed.
Gaudi::Property< std::string > m_stripL2GKernelName
Name of the strip L2G kernelS.
Gaudi::Property< std::string > m_pixelClusterKernelName
Name of the pixel clustering kernel.
Property holding a SG store/key/clid from which a ReadHandle is made.
std::atomic< cl_ulong > m_stripClusteringTime
Time for strip clustering.
std::atomic< cl_ulong > m_stripL2GTime
Time for strip L2G.
virtual StatusCode finalize() override final
std::vector< cl::Kernel > m_pixelClusteringKernels ATLAS_THREAD_SAFE
Gaudi::Property< std::string > m_edmKernelName
Name of the FPGA kernel.
Property holding a SG store/key/clid from which a WriteHandle is made.
std::vector< cl::Buffer > m_stripL2GEDMOutputBufferList
std::vector< cl::Kernel > m_stripClusteringKernels ATLAS_THREAD_SAFE
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< cl::Kernel > m_pixelL2GKernels ATLAS_THREAD_SAFE
std::vector< cl::Buffer > m_edmStripOutputBufferList
std::atomic< cl_ulong > m_stripInputTime
Time for strip input buffer write.
std::vector< cl::Buffer > m_stripClusterEDMOutputBufferList
The class for enconding RDO to FPGA format.
ServiceHandle< IChronoSvc > m_chronoSvc
Service for timing the algorithm.
std::vector< cl::Buffer > m_stripClusterOutputBufferList
std::vector< cl::Buffer > m_pixelClusterInputBufferList
std::atomic< cl_ulong > m_pixelClusteringTime
Time for pixel clustering.
std::atomic< cl_ulong > m_edmPrepTime
Time for EDM preparation.
virtual StatusCode execute(const EventContext &ctx) const override final
Should be overriden by derived classes to perform meaningful work.
SG::ReadHandleKey< std::vector< uint64_t > > m_FPGAPixelRDO
Gaudi::Property< std::string > m_stripClusterKernelName
Name of the strip clustering kernel.
std::vector< cl::Buffer > m_pixelClusterEDMOutputBufferList
std::atomic< cl_ulong > m_pixelInputTime
Time for pixel input buffer write.
std::atomic< cl_ulong > m_stripOutputTime
Time for strip output buffer read.
std::vector< cl::Kernel > m_stripEdmPrepKernels ATLAS_THREAD_SAFE
std::vector< cl::Buffer > m_pixelL2GEDMOutputBufferList
virtual StatusCode initialize() override final
Detect the OpenCL devices and prepare OpenCL context.
SG::WriteHandleKey< std::vector< uint64_t > > m_FPGAPixelOutput
Gaudi::Property< std::string > m_pixelL2GKernelName
Name of the pixel L2G kernel.
std::atomic< cl_ulong > m_pixelOutputTime
Time for pixel output buffer read.
std::vector< cl::CommandQueue > m_acc_queues
This is the class for the benchmark algorithm specific to the FPGA integration and output conversion.
std::vector< cl::Buffer > m_stripClusterInputBufferList
Gaudi::Property< std::string > m_stripEdmKernelName
Name of the FPGA kernel.
Gaudi::Property< bool > m_doF110
Boolean to run F110 instead of F100.
std::vector< cl::Buffer > m_pixelClusterOutputBufferList