8 auto const& barrelValues =
values.barrelItems();
9 for (
unsigned int i = 0;
i < barrelValues.size();
i++) {
10 status_[
i] = barrelValues[
i].getEncodedStatusCode();
14 auto const& endcapValues =
values.endcapItems();
15 auto const offset = barrelValues.size();
16 for (
unsigned int i = 0;
i < endcapValues.size();
i++) {
22 auto const& product =
product_.dataForCurrentDeviceAsync(
25 product.
status = cms::cuda::make_device_unique<uint16_t[]>(
status_.size(), cudaStream);
cms::cuda::ESProduct< Product > product_
Product const & getProduct(cudaStream_t) const
std::vector< uint16_t, cms::cuda::HostAllocator< uint16_t > > status_
EcalRechitChannelStatusGPU(EcalChannelStatus const &)
void copyAsync(device::unique_ptr< T > &dst, const host::unique_ptr< T > &src, cudaStream_t stream)
edm::propagate_const_array< cms::cuda::device::unique_ptr< uint16_t[]> > status
#define TYPELOOKUP_DATA_REG(_dataclass_)