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());
T getParameter(std::string const &) const
std::unique_ptr< HGCRecHitCPUProduct > prodPtr_
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDPutTokenT< HGCRecHitCPUProduct > recHitCPUSoAToken_
#define DEFINE_FWK_MODULE(type)
cms::cuda::ContextState ctxState_
void acquire(edm::Event const &, edm::EventSetup const &, edm::WaitingTaskWithArenaHolder) override
edm::EDGetTokenT< cms::cuda::Product< HGCRecHitGPUProduct > > recHitGPUToken_
HEFRecHitGPUtoSoA(const edm::ParameterSet &ps)
void transfer_soa_to_host(const cudaStream_t &)
~HEFRecHitGPUtoSoA() override