CMS 3D CMS Logo

HcalGainWidthsGPU.h
Go to the documentation of this file.
1 #ifndef CondFormats_HcalObjects_interface_HcalGainWidthsGPU_h
2 #define CondFormats_HcalObjects_interface_HcalGainWidthsGPU_h
3 
7 
8 #ifndef __CUDACC__
11 #endif
12 
14 public:
15  struct Product {
20  };
21 
22 #ifndef __CUDACC__
23  // rearrange reco params
25 
26  // will trigger deallocation of Product thru ~Product
27  ~HcalGainWidthsGPU() = default;
28 
29  // get device pointers
30  Product const &getProduct(cudaStream_t) const;
31 
32 private:
34  std::vector<float, cms::cuda::HostAllocator<float>> value0_, value1_, value2_, value3_;
35 
37 #endif
38 };
39 
40 #endif
HcalGainWidthsGPU::value2_
std::vector< float, cms::cuda::HostAllocator< float > > value2_
Definition: HcalGainWidthsGPU.h:34
HcalGainWidthsGPU::Product::value0
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > value0
Definition: HcalGainWidthsGPU.h:16
HostAllocator.h
HcalGainWidthsGPU::HcalGainWidthsGPU
HcalGainWidthsGPU(HcalGainWidths const &)
Definition: HcalGainWidthsGPU.cc:7
HcalGainWidthsGPU::Product
Definition: HcalGainWidthsGPU.h:15
HcalGainWidthsGPU::value1_
std::vector< float, cms::cuda::HostAllocator< float > > value1_
Definition: HcalGainWidthsGPU.h:34
device_unique_ptr.h
HcalGainWidthsGPU::~HcalGainWidthsGPU
~HcalGainWidthsGPU()=default
HcalGainWidthsGPU::Product::value1
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > value1
Definition: HcalGainWidthsGPU.h:17
cms::cuda::ESProduct
Definition: ESProduct.h:19
HcalGainWidthsGPU::product_
cms::cuda::ESProduct< Product > product_
Definition: HcalGainWidthsGPU.h:36
HcalGainWidths
Definition: HcalGainWidths.h:17
HcalGainWidthsGPU::value3_
std::vector< float, cms::cuda::HostAllocator< float > > value3_
Definition: HcalGainWidthsGPU.h:34
HcalGainWidthsGPU::Product::value2
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > value2
Definition: HcalGainWidthsGPU.h:18
edm::propagate_const_array
Definition: propagate_const_array.h:61
HcalGainWidthsGPU::Product::value3
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > value3
Definition: HcalGainWidthsGPU.h:19
HcalGainWidths.h
HcalGainWidthsGPU
Definition: HcalGainWidthsGPU.h:13
propagate_const_array.h
HcalGainWidthsGPU::getProduct
const Product & getProduct(cudaStream_t) const
Definition: HcalGainWidthsGPU.cc:35
HcalGainWidthsGPU::totalChannels_
uint64_t totalChannels_
Definition: HcalGainWidthsGPU.h:33
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
ESProduct.h
HcalGainWidthsGPU::value0_
std::vector< float, cms::cuda::HostAllocator< float > > value0_
Definition: HcalGainWidthsGPU.h:34