CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
std::vector< float, cms::cuda::HostAllocator< float > > value2_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > value2
HcalGainWidthsGPU(HcalGainWidths const &)
std::vector< float, cms::cuda::HostAllocator< float > > value1_
~HcalGainWidthsGPU()=default
Product const & getProduct(cudaStream_t) const
std::vector< float, cms::cuda::HostAllocator< float > > value3_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > value1
cms::cuda::ESProduct< Product > product_
unsigned long long uint64_t
Definition: Time.h:13
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > value0
std::vector< float, cms::cuda::HostAllocator< float > > value0_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > value3