1 #ifndef RecoLocalCalo_EcalRecProducers_plugins_DeclsForKernelsPhase2_h 2 #define RecoLocalCalo_EcalRecProducers_plugins_DeclsForKernelsPhase2_h 13 void allocate(uint32_t digi_size, cudaStream_t cudaStream) {
14 auto const size = digi_size;
17 recHits.amplitude = cms::cuda::make_device_unique<reco::StorageScalarType[]>(
size, cudaStream);
18 recHits.amplitudeError = cms::cuda::make_device_unique<reco::StorageScalarType[]>(
size, cudaStream);
19 recHits.chi2 = cms::cuda::make_device_unique<reco::StorageScalarType[]>(
size, cudaStream);
20 recHits.pedestal = cms::cuda::make_device_unique<reco::StorageScalarType[]>(
size, cudaStream);
21 recHits.did = cms::cuda::make_device_unique<uint32_t[]>(
size, cudaStream);
22 recHits.flags = cms::cuda::make_device_unique<uint32_t[]>(
size, cudaStream);
28 #endif // RecoLocalCalo_EcalRecProducers_plugins_DeclsForKernelsPhase2_h
UncalibratedRecHit<::calo::common::DevStoragePolicy > recHits
void allocate(uint32_t digi_size, cudaStream_t cudaStream)
static constexpr int MAXSAMPLES