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
std::vector< float, cms::cuda::HostAllocator< float > > values_
cms::cuda::ESProduct< Product > product_
HcalConvertedPedestalWidthsGPU(HcalPedestals const &, HcalPedestalWidths const &, HcalQIEData const &, HcalQIETypes const &)
Product const & getProduct(cudaStream_t) const
unsigned long long uint64_t
Definition: Time.h:13
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > values