CMS 3D CMS Logo

HcalChannelQualityGPU.h
Go to the documentation of this file.
1 #ifndef CondFormats_HcalObjects_interface_HcalChannelQualityGPU_h
2 #define CondFormats_HcalObjects_interface_HcalChannelQualityGPU_h
3 
7 
8 #ifndef __CUDACC__
11 #endif
12 
14 public:
15  struct Product {
17  };
18 
19 #ifndef __CUDACC__
20  // rearrange reco params
22 
23  // will trigger deallocation of Product thru ~Product
24  ~HcalChannelQualityGPU() = default;
25 
26  // get device pointers
27  Product const &getProduct(cudaStream_t) const;
28 
29 private:
31  std::vector<uint32_t, cms::cuda::HostAllocator<uint32_t>> status_;
32 
34 #endif // __CUDACC__
35 };
36 
37 #endif // RecoLocalCalo_HcalRecAlgos_interface_HcalChannelQualityGPU_h
~HcalChannelQualityGPU()=default
Product const & getProduct(cudaStream_t) const
edm::propagate_const_array< cms::cuda::device::unique_ptr< uint32_t[]> > status
unsigned long long uint64_t
Definition: Time.h:13
HcalChannelQualityGPU(HcalChannelQuality const &)
std::vector< uint32_t, cms::cuda::HostAllocator< uint32_t > > status_
cms::cuda::ESProduct< Product > product_