CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HcalRecoParamsGPU.h
Go to the documentation of this file.
1 #ifndef CondFormats_HcalObjects_interface_HcalRecoParamsGPU_h
2 #define CondFormats_HcalObjects_interface_HcalRecoParamsGPU_h
3 
6 
7 #ifndef __CUDACC__
10 #endif
11 
12 class HcalRecoParams;
13 
15 public:
16  struct Product {
19  };
20 
21 #ifndef __CUDACC__
22  // rearrange reco params
24 
25  // will trigger deallocation of Product thru ~Product
26  ~HcalRecoParamsGPU() = default;
27 
28  // get device pointers
29  Product const& getProduct(cudaStream_t) const;
30 
31 private:
33  std::vector<uint32_t, cms::cuda::HostAllocator<uint32_t>> param1_;
34  std::vector<uint32_t, cms::cuda::HostAllocator<uint32_t>> param2_;
35 
37 #endif
38 };
39 
40 #endif
~HcalRecoParamsGPU()=default
HcalRecoParamsGPU(HcalRecoParams const &)
std::vector< uint32_t, cms::cuda::HostAllocator< uint32_t > > param2_
cms::cuda::ESProduct< Product > product_
edm::propagate_const_array< cms::cuda::device::unique_ptr< uint32_t[]> > param1
Product const & getProduct(cudaStream_t) const
unsigned long long uint64_t
Definition: Time.h:13
std::vector< uint32_t, cms::cuda::HostAllocator< uint32_t > > param1_
edm::propagate_const_array< cms::cuda::device::unique_ptr< uint32_t[]> > param2