![]() |
The Gaudi Framework
v39r1 (adb068b2)
|
#include </builds/gaudi/Gaudi/GaudiHive/src/GPUCruncher.h>


Public Types | |
| typedef tbb::concurrent_hash_map< std::string, unsigned int > | CHM |
Public Member Functions | |
| bool | isClonable () const override |
| StatusCode | execute (const EventContext &ctx) const override |
| the execution of the algorithm More... | |
| StatusCode | initialize () override |
| Its initialization. More... | |
| StatusCode | finalize () override |
| the finalization of the algorithm More... | |
| double | get_runtime () const |
| GPUCruncher (const std::string &name, ISvcLocator *pSvc) | |
| virtual | ~GPUCruncher () |
| virtual & protected desctrustor More... | |
Private Member Functions | |
| GPUCruncher () | |
| the default constructor is disabled More... | |
| GPUCruncher (const GPUCruncher &) | |
| the copy constructor is disabled More... | |
| GPUCruncher & | operator= (const GPUCruncher &) |
| the assignement operator is disabled More... | |
| StatusCode | gpuExecute (const std::pmr::vector< double > &in, std::vector< double > &out) const |
| The GPU intensive function. More... | |
Private Attributes | |
| Gaudi::Property< std::vector< std::string > > | m_inpKeys { this, "inpKeys", {}, "" } |
| Gaudi::Property< std::vector< std::string > > | m_outKeys { this, "outKeys", {}, "" } |
| Gaudi::Property< double > | m_avg_runtime { this, "avgRuntime", 1., "Average runtime of the module." } |
| Gaudi::Property< double > | m_var_runtime { this, "varRuntime", 0.01, "Variance of the runtime of the module." } |
| Gaudi::Property< bool > | m_local_rndm_gen |
| std::pmr::memory_resource * | pinned |
| const uint | MAX_INPUTS = 40 |
| const uint | MAX_OUTPUTS = 10 |
| std::vector< DataObjectHandle< DataObject > * > | m_inputHandles |
| std::vector< DataObjectHandle< DataObject > * > | m_outputHandles |
Static Private Attributes | |
| static CHM | m_name_ncopies_map |
A test asynchronous algorithm. Might eventually run computations on a GPU but for now it just sleeps for a few seconds.
Definition at line 26 of file GPUCruncher.h.
| typedef tbb::concurrent_hash_map<std::string, unsigned int> GPUCruncher::CHM |
Definition at line 29 of file GPUCruncher.h.
| GPUCruncher::GPUCruncher | ( | const std::string & | name, |
| ISvcLocator * | pSvc | ||
| ) |
Definition at line 34 of file GPUCruncher.cpp.
|
virtual |
|
private |
the default constructor is disabled
|
private |
the copy constructor is disabled
|
override |
the execution of the algorithm
Definition at line 84 of file GPUCruncher.cpp.
|
override |
the finalization of the algorithm
Definition at line 191 of file GPUCruncher.cpp.
|
inline |
Definition at line 40 of file GPUCruncher.h.
|
private |
The GPU intensive function.
|
override |
Its initialization.
Definition at line 51 of file GPUCruncher.cpp.
|
inlineoverride |
Definition at line 31 of file GPUCruncher.h.
|
private |
the assignement operator is disabled
|
private |
Definition at line 61 of file GPUCruncher.h.
|
private |
Definition at line 58 of file GPUCruncher.h.
|
private |
Definition at line 73 of file GPUCruncher.h.
|
private |
Definition at line 63 of file GPUCruncher.h.
|
staticprivate |
Definition at line 76 of file GPUCruncher.h.
|
private |
Definition at line 59 of file GPUCruncher.h.
|
private |
Definition at line 74 of file GPUCruncher.h.
|
private |
Definition at line 62 of file GPUCruncher.h.
|
private |
Definition at line 70 of file GPUCruncher.h.
|
private |
Definition at line 71 of file GPUCruncher.h.
|
private |
Definition at line 67 of file GPUCruncher.h.