1 #ifndef HeterogeneousCore_CUDAUtilities_EventCache_h
2 #define HeterogeneousCore_CUDAUtilities_EventCache_h
6 #include <cuda_runtime.h>
30 friend class ::CUDAService;
48 std::vector<edm::ReusableObjectHolder<BareEvent, Deleter>>
cache_;
SharedEventPtr makeOrGet(int dev)
void operator()(cudaEvent_t event) const
std::shared_ptr< std::remove_pointer_t< cudaEvent_t >> SharedEventPtr
std::vector< edm::ReusableObjectHolder< BareEvent, Deleter > > cache_
EventCache & getEventCache()
SharedEventPtr::element_type BareEvent