#include <EventCache.h>
Classes | |
class | Deleter |
Public Types | |
using | BareEvent = SharedEventPtr::element_type |
Public Member Functions | |
EventCache () | |
SharedEventPtr | get () |
Private Member Functions | |
void | clear () |
SharedEventPtr | makeOrGet (int dev) |
Private Attributes | |
std::vector< edm::ReusableObjectHolder< BareEvent, Deleter > > | cache_ |
Friends | |
class | ::CUDAService |
Definition at line 15 of file EventCache.h.
using cms::cuda::EventCache::BareEvent = SharedEventPtr::element_type |
Definition at line 17 of file EventCache.h.
cms::cuda::EventCache::EventCache | ( | ) |
Definition at line 19 of file EventCache.cc.
|
private |
Definition at line 54 of file EventCache.cc.
References cache_, and cms::cuda::deviceCount().
Referenced by CUDAService::CUDAService(), and CUDAService::~CUDAService().
SharedEventPtr cms::cuda::EventCache::get | ( | ) |
Definition at line 21 of file EventCache.cc.
References cms::cuda::currentDevice(), edmPickEvents::event, cms::cuda::eventWorkHasCompleted(), makeOrGet(), and eostools::move().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), cms::cuda::ESProduct< HcalGainWidthsGPU::Product >::ESProduct(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
private |
Definition at line 45 of file EventCache.cc.
References cache_, cudaCheck, and edmPickEvents::event.
Referenced by get().
|
friend |
Definition at line 30 of file EventCache.h.
|
private |
Definition at line 48 of file EventCache.h.
Referenced by clear(), and makeOrGet().