1 #ifndef CUDADAtaFormats_HGCal_HGCRecHitGPUProduct_H 2 #define CUDADAtaFormats_HGCal_HGCRecHitGPUProduct_H 29 soa.energy_ =
reinterpret_cast<float *
>(
mem_.get());
32 soa.id_ =
reinterpret_cast<uint32_t *
>(
soa.timeError_ +
pad_);
34 soa.son_ =
reinterpret_cast<uint8_t *
>(
soa.flagBits_ +
pad_);
42 soa.energy_ =
reinterpret_cast<float const *
>(
mem_.get());
45 soa.id_ =
reinterpret_cast<uint32_t
const *
>(
soa.timeError_ +
pad_);
47 soa.son_ =
reinterpret_cast<uint8_t
const *
>(
soa.flagBits_ +
pad_);
60 static constexpr std::array<int, memory::npointers::ntypes_hgcrechits_soa>
sizes_ = {
69 #endif //CUDADAtaFormats_HGCal_HGCRecHitGPUProduct_H constexpr unsigned uint8_hgcrechits_soa
HGCRecHitGPUProduct()=default
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
static constexpr std::array< int, memory::npointers::ntypes_hgcrechits_soa > sizes_
cms::cuda::device::unique_ptr< std::byte[]> mem_
~HGCRecHitGPUProduct()=default
constexpr unsigned float_hgcrechits_soa
constexpr unsigned uint32_hgcrechits_soa
HGCRecHitGPUProduct & operator=(const HGCRecHitGPUProduct &)=delete
HGCRecHitGPUProduct(uint32_t nhits, const cudaStream_t &stream)