CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HcalPedestalWidthsGPU.h
Go to the documentation of this file.
1 #ifndef CondFormats_HcalObjects_interface_HcalPedestalWidthsGPU_h
2 #define CondFormats_HcalObjects_interface_HcalPedestalWidthsGPU_h
3 
7 
8 #ifndef __CUDACC__
11 #endif
12 
14 public:
15  struct Product {
32  };
33 
34 #ifndef __CUDACC__
35  // rearrange reco params
37 
38  // will trigger deallocation of Product thru ~Product
39  ~HcalPedestalWidthsGPU() = default;
40 
41  // get device pointers
42  Product const& getProduct(cudaStream_t) const;
43 
44  // as in cpu version
45  bool unitIsADC() const { return unitIsADC_; }
46 
47 private:
48  bool unitIsADC_;
50  std::vector<float, cms::cuda::HostAllocator<float>> sigma00_;
51  std::vector<float, cms::cuda::HostAllocator<float>> sigma01_;
52  std::vector<float, cms::cuda::HostAllocator<float>> sigma02_;
53  std::vector<float, cms::cuda::HostAllocator<float>> sigma03_;
54  std::vector<float, cms::cuda::HostAllocator<float>> sigma10_;
55  std::vector<float, cms::cuda::HostAllocator<float>> sigma11_;
56  std::vector<float, cms::cuda::HostAllocator<float>> sigma12_;
57  std::vector<float, cms::cuda::HostAllocator<float>> sigma13_;
58  std::vector<float, cms::cuda::HostAllocator<float>> sigma20_;
59  std::vector<float, cms::cuda::HostAllocator<float>> sigma21_;
60  std::vector<float, cms::cuda::HostAllocator<float>> sigma22_;
61  std::vector<float, cms::cuda::HostAllocator<float>> sigma23_;
62  std::vector<float, cms::cuda::HostAllocator<float>> sigma30_;
63  std::vector<float, cms::cuda::HostAllocator<float>> sigma31_;
64  std::vector<float, cms::cuda::HostAllocator<float>> sigma32_;
65  std::vector<float, cms::cuda::HostAllocator<float>> sigma33_;
66 
68 #endif
69 };
70 
71 #endif
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma01
std::vector< float, cms::cuda::HostAllocator< float > > sigma13_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma21
std::vector< float, cms::cuda::HostAllocator< float > > sigma11_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma31
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma02
std::vector< float, cms::cuda::HostAllocator< float > > sigma20_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma00
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma22
std::vector< float, cms::cuda::HostAllocator< float > > sigma32_
std::vector< float, cms::cuda::HostAllocator< float > > sigma22_
std::vector< float, cms::cuda::HostAllocator< float > > sigma23_
std::vector< float, cms::cuda::HostAllocator< float > > sigma01_
std::vector< float, cms::cuda::HostAllocator< float > > sigma30_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma33
cms::cuda::ESProduct< Product > product_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma13
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma11
std::vector< float, cms::cuda::HostAllocator< float > > sigma03_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma30
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma23
~HcalPedestalWidthsGPU()=default
std::vector< float, cms::cuda::HostAllocator< float > > sigma31_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma03
Product const & getProduct(cudaStream_t) const
std::vector< float, cms::cuda::HostAllocator< float > > sigma21_
std::vector< float, cms::cuda::HostAllocator< float > > sigma12_
unsigned long long uint64_t
Definition: Time.h:13
std::vector< float, cms::cuda::HostAllocator< float > > sigma00_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma32
std::vector< float, cms::cuda::HostAllocator< float > > sigma02_
HcalPedestalWidthsGPU(HcalPedestalWidths const &)
std::vector< float, cms::cuda::HostAllocator< float > > sigma10_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma10
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma20
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma12
std::vector< float, cms::cuda::HostAllocator< float > > sigma33_