4 #include <cuda_runtime.h>
52 : recHitGPUToken_{consumes<cms::cuda::Product<HGCRecHitGPUProduct>>(
54 recHitCPUSoAToken_(produces<HGCRecHitCPUProduct>()) {}
64 prodPtr_ = std::make_unique<HGCRecHitCPUProduct>(gpuRecHits.nHits(), ctx.stream());
void acquire(edm::Event const &, edm::EventSetup const &, edm::WaitingTaskWithArenaHolder) override
#define DEFINE_FWK_MODULE(type)
cms::cuda::ContextState ctxState_
EERecHitGPUtoSoA(const edm::ParameterSet &ps)
void produce(edm::Event &, const edm::EventSetup &) override
T getParameter(std::string const &) const
edm::EDGetTokenT< cms::cuda::Product< HGCRecHitGPUProduct > > recHitGPUToken_
std::unique_ptr< HGCRecHitCPUProduct > prodPtr_
edm::EDPutTokenT< HGCRecHitCPUProduct > recHitCPUSoAToken_
void transfer_soa_to_host(const cudaStream_t &)
~EERecHitGPUtoSoA() override