CMS 3D CMS Logo

HcalRecoParamWithPulseShapeHost.h
Go to the documentation of this file.
1 #ifndef CondFormats_HcalObjects_interface_HcalRecoParamWithPulseShapeHost_h
2 #define CondFormats_HcalObjects_interface_HcalRecoParamWithPulseShapeHost_h
3 
7 
8 namespace hcal {
10 }
11 namespace cms::alpakatools {
12  template <>
14  template <typename TQueue>
15  static auto copyAsync(TQueue& queue, ::hcal::HcalRecoParamWithPulseShapeHost const& hostProduct) {
18  using Device = alpaka::Dev<TQueue>;
19  return ::hcal::HcalRecoParamWithPulseShapeT<Device>(RecoParamCopy::copyAsync(queue, hostProduct.recoParam()),
21  }
22  };
23 } // namespace cms::alpakatools
24 
25 #endif
static auto copyAsync(TQueue &queue, ::hcal::HcalRecoParamWithPulseShapeHost const &hostProduct)
ALPAKA_ACCELERATOR_NAMESPACE::Device Device
Definition: LSTEvent.dev.cc:13
const RecoParamCollection & recoParam() const
void copyAsync(device::unique_ptr< T > &dst, const host::unique_ptr< T > &src, cudaStream_t stream)
Definition: copyAsync.h:20
const PulseShapeCollection & pulseShape() const