1 #ifndef CUDADAtaFormats_HGCal_HGCRecHitCPUProduct_H 2 #define CUDADAtaFormats_HGCal_HGCRecHitCPUProduct_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_);
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
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