Go to the documentation of this file.
12 #include <Gaudi/AsynchronousAlgorithm.h>
17 #include <tbb/concurrent_hash_map.h>
29 typedef tbb::concurrent_hash_map<std::string, unsigned int>
CHM;
64 "Decide if the local random generator is to be used" };
Gaudi::Property< std::vector< std::string > > m_inpKeys
StatusCode finalize() override
the finalization of the algorithm
bool isClonable() const override
std::vector< DataObjectHandle< DataObject > * > m_outputHandles
Gaudi::Property< double > m_var_runtime
StatusCode execute(const EventContext &ctx) const override
the execution of the algorithm
virtual ~GPUCruncher()
virtual & protected desctrustor
GPUCruncher & operator=(const GPUCruncher &)
the assignement operator is disabled
StatusCode initialize() override
Its initialization.
std::vector< DataObjectHandle< DataObject > * > m_inputHandles
std::pmr::memory_resource * pinned
StatusCode gpuExecute(const std::pmr::vector< double > &in, std::vector< double > &out) const
The GPU intensive function.
GPUCruncher()
the default constructor is disabled
GPUCruncher(const GPUCruncher &)
the copy constructor is disabled
Gaudi::Property< std::vector< std::string > > m_outKeys
static CHM m_name_ncopies_map
double get_runtime() const
tbb::concurrent_hash_map< std::string, unsigned int > CHM
Gaudi::Property< double > m_avg_runtime
Gaudi::Property< bool > m_local_rndm_gen
Implementation of property with value of concrete type.