CMS 3D CMS Logo

HcalConvertedPedestalWidthsGPU.h
Go to the documentation of this file.
1 #ifndef CondFormats_HcalObjects_interface_HcalConvertedPedestalWidthsGPU_h
2 #define CondFormats_HcalObjects_interface_HcalConvertedPedestalWidthsGPU_h
3 
10 
11 #ifndef __CUDACC__
14 #endif
15 
17 public:
18  struct Product {
20  };
21 
22 #ifndef __CUDACC__
23  // order matters!
25  HcalPedestalWidths const&,
26  HcalQIEData const&,
27  HcalQIETypes const&);
28 
29  // will trigger deallocation of Product thru ~Product
31 
32  // get device pointers
33  Product const& getProduct(cudaStream_t) const;
34 
35 private:
37  std::vector<float, cms::cuda::HostAllocator<float>> values_;
38 
40 #endif
41 };
42 
43 #endif
HcalConvertedPedestalWidthsGPU::Product::values
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > values
Definition: HcalConvertedPedestalWidthsGPU.h:19
HostAllocator.h
HcalConvertedPedestalWidthsGPU::product_
cms::cuda::ESProduct< Product > product_
Definition: HcalConvertedPedestalWidthsGPU.h:39
HcalPedestals.h
HcalQIETypes.h
device_unique_ptr.h
HcalPedestalWidths
Definition: HcalPedestalWidths.h:17
HcalPedestals
Definition: HcalPedestals.h:20
HcalConvertedPedestalWidthsGPU::values_
std::vector< float, cms::cuda::HostAllocator< float > > values_
Definition: HcalConvertedPedestalWidthsGPU.h:37
cms::cuda::ESProduct
Definition: ESProduct.h:20
HcalQIEData.h
HcalConvertedPedestalWidthsGPU::Product
Definition: HcalConvertedPedestalWidthsGPU.h:18
HcalConvertedPedestalWidthsGPU::HcalConvertedPedestalWidthsGPU
HcalConvertedPedestalWidthsGPU(HcalPedestals const &, HcalPedestalWidths const &, HcalQIEData const &, HcalQIETypes const &)
Definition: HcalConvertedPedestalWidthsGPU.cc:22
HcalConvertedPedestalWidthsGPU
Definition: HcalConvertedPedestalWidthsGPU.h:16
HcalConvertedPedestalWidthsGPU::totalChannels_
uint64_t totalChannels_
Definition: HcalConvertedPedestalWidthsGPU.h:36
HcalQIETypes
Definition: HcalQIETypes.h:17
HcalPedestalWidths.h
HcalQIEData
Definition: HcalQIEData.h:24
edm::propagate_const_array
Definition: propagate_const_array.h:61
HcalConvertedPedestalWidthsGPU::getProduct
Product const & getProduct(cudaStream_t) const
Definition: HcalConvertedPedestalWidthsGPU.cc:137
propagate_const_array.h
HcalConvertedPedestalWidthsGPU::~HcalConvertedPedestalWidthsGPU
~HcalConvertedPedestalWidthsGPU()=default
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
ESProduct.h