#include <HcalRecoParamsGPU.h>
Definition at line 14 of file HcalRecoParamsGPU.h.
◆ HcalRecoParamsGPU()
HcalRecoParamsGPU::HcalRecoParamsGPU |
( |
HcalRecoParams const & |
recoParams | ) |
|
Definition at line 7 of file HcalRecoParamsGPU.cc.
References HcalCondObjectContainer< Item >::getAllContainers().
8 :
totalChannels_{recoParams.getAllContainers()[0].second.size() + recoParams.getAllContainers()[1].second.size()},
11 auto const& containers = recoParams.getAllContainers();
14 auto const& barrelValues = containers[0].second;
15 for (
uint64_t i = 0;
i < barrelValues.size(); ++
i) {
21 auto const& endcapValues = containers[1].second;
22 auto const offset = barrelValues.size();
23 for (
uint64_t i = 0;
i < endcapValues.size(); ++
i) {
std::vector< uint32_t, cms::cuda::HostAllocator< uint32_t > > param2_
unsigned long long uint64_t
std::vector< uint32_t, cms::cuda::HostAllocator< uint32_t > > param1_
◆ ~HcalRecoParamsGPU()
HcalRecoParamsGPU::~HcalRecoParamsGPU |
( |
| ) |
|
|
default |
◆ getProduct()
Definition at line 29 of file HcalRecoParamsGPU.cc.
References cms::cuda::copyAsync(), HcalRecoParamsGPU::Product::param1, param1_, HcalRecoParamsGPU::Product::param2, param2_, product_, and cms::cuda::stream.
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
std::vector< uint32_t, cms::cuda::HostAllocator< uint32_t > > param2_
cms::cuda::ESProduct< Product > product_
void copyAsync(device::unique_ptr< T > &dst, const host::unique_ptr< T > &src, cudaStream_t stream)
edm::propagate_const_array< cms::cuda::device::unique_ptr< uint32_t[]> > param1
std::vector< uint32_t, cms::cuda::HostAllocator< uint32_t > > param1_
edm::propagate_const_array< cms::cuda::device::unique_ptr< uint32_t[]> > param2
◆ param1_
◆ param2_
◆ product_
◆ totalChannels_
uint64_t HcalRecoParamsGPU::totalChannels_ |
|
private |