9#ifndef EFTRACKING_FPGA_INTEGRATION_F110StreamIntegrationAlg_H
10#define EFTRACKING_FPGA_INTEGRATION_F110StreamIntegrationAlg_H
20#include "GaudiKernel/ServiceHandle.h"
21#include "GaudiKernel/IChronoSvc.h"
36 using IntegrationBase::IntegrationBase;
37 virtual StatusCode
initialize()
override final;
38 virtual StatusCode
execute(
const EventContext &ctx)
const override final;
39 virtual StatusCode
finalize()
override final;
53 Gaudi::Property<int>
m_FPGAThreads{
this,
"FPGAThreads", 1,
"number of FPGA threads to initialize"};
55 Gaudi::Property<std::string>
m_xclbin{
this,
"xclbin",
"",
"xclbin path and name"};
This is the class for the benchmark algorithm specific to the FPGA integration and output conversion.
std::atomic< cl_ulong > m_stripPipelineTime
Time for strip pipeline.
Gaudi::Property< std::string > m_stripStartClusterKernelName
Name of the strip clustering kernel start.
SG::WriteHandleKey< std::vector< uint32_t > > m_FPGAPixelOutput
virtual StatusCode initialize() override final
Detect the OpenCL devices and prepare OpenCL context.
std::vector< cl::Buffer > m_edmPixelOutputBufferList
Gaudi::Property< std::string > m_pixelStartClusterKernelName
Name of the pixel clustering kernel start.
std::vector< cl::Buffer > m_pixelClusterInputBufferList
SG::WriteHandleKey< std::vector< uint32_t > > m_FPGAStripOutput
virtual StatusCode execute(const EventContext &ctx) const override final
Should be overriden by derived classes to perform meaningful work.
virtual StatusCode finalize() override final
Gaudi::Property< int > m_FPGAThreads
Gaudi::Property< std::string > m_stripEndClusterKernelName
Name of the strip clustering kernel start.
void getListofCUs(std::vector< std::string > &cuNames)
std::vector< cl::CommandQueue > m_acc_queues
std::vector< cl::Kernel > m_pixelStartClusteringKernels ATLAS_THREAD_SAFE
Gaudi::Property< std::string > m_xclbin
Path and name of the xclbin file.
SG::ReadHandleKey< std::vector< uint64_t > > m_FPGAStripRDO
SG::ReadHandleKey< int > m_FPGAStripRDOSize
std::atomic< cl_ulong > m_stripInputTime
Time for strip input buffer write.
std::vector< cl::Buffer > m_stripClusterInputBufferList
std::atomic< cl_ulong > m_stripOutputTime
Time for strip output buffer read.
std::vector< cl::Buffer > m_edmStripOutputBufferList
ServiceHandle< IChronoSvc > m_chronoSvc
Service for timing the algorithm.
std::atomic< cl_ulong > m_pixelPipelineTime
Time for pixel pipeline.
SG::ReadHandleKey< std::vector< uint64_t > > m_FPGAPixelRDO
std::atomic< cl_ulong > m_pixelInputTime
Time for pixel input buffer write.
std::atomic< ulonglong > m_numEvents
Number of events processed.
Gaudi::Property< std::string > m_pixelEndClusterKernelName
Name of the pixel clustering kernel start.
SG::ReadHandleKey< int > m_FPGAPixelRDOSize
std::atomic< cl_ulong > m_pixelOutputTime
Time for pixel output buffer read.
The base class for the EFTracking FPGA integration development.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
The class for enconding RDO to FPGA format.