1 #ifndef CUDADAtaFormats_HGCal_HGCRecHitCPUProduct_H
2 #define CUDADAtaFormats_HGCal_HGCRecHitCPUProduct_H
17 pad_ = ((nhits - 1) / 32 + 1) * 32;
29 soa.
energy_ =
reinterpret_cast<float *
>(
mem_.get());
42 soa.
energy_ =
reinterpret_cast<float const *
>(
mem_.get());
56 static constexpr std::array<int, memory::npointers::ntypes_hgcrechits_soa>
sizes_ = {
65 #endif //CUDADAtaFormats_HGCal_HGCRecHitCPUProduct_H
constexpr unsigned uint8_hgcrechits_soa
static constexpr std::array< int, memory::npointers::ntypes_hgcrechits_soa > sizes_
~HGCRecHitCPUProduct()=default
HGCRecHitCPUProduct(uint32_t nhits, const cudaStream_t &stream)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
HGCRecHitCPUProduct()=default
uint32_t const * flagBits_
cms::cuda::host::unique_ptr< std::byte[]> mem_
constexpr unsigned float_hgcrechits_soa
constexpr unsigned uint32_hgcrechits_soa
HGCRecHitCPUProduct & operator=(const HGCRecHitCPUProduct &)=delete
std::unique_ptr< T, impl::HostDeleter > unique_ptr