#include <ChannelLocsGPU.h>
Public Member Functions | |
ChannelLocsGPU (size_t size, cudaStream_t stream) | |
ChannelLocsGPU (ChannelLocsGPU &&arg) | |
ChannelLocsGPU (ChannelLocsGPU &)=delete | |
ChannelLocsGPU (const ChannelLocsGPU &)=delete | |
const ChannelLocsView * | channelLocsView () const |
ChannelLocsGPU & | operator= (const ChannelLocsGPU &)=delete |
ChannelLocsGPU & | operator= (ChannelLocsGPU &&)=delete |
void | setVals (const ChannelLocs *c, cms::cuda::host::unique_ptr< const uint8_t *[]> inputGPU, cudaStream_t stream) |
~ChannelLocsGPU () override=default | |
Public Member Functions inherited from ChannelLocsBase< cms::cuda::device::unique_ptr > | |
ChannelLocsBase (size_t size) | |
ChannelLocsBase (ChannelLocsBase &&arg) | |
stripgpu::detId_t | detID (uint32_t index) const |
stripgpu::detId_t * | detID () const |
stripgpu::fedCh_t | fedCh (uint32_t index) const |
stripgpu::fedCh_t * | fedCh () const |
stripgpu::fedId_t | fedID (uint32_t index) const |
stripgpu::fedId_t * | fedID () const |
size_t | inoff (uint32_t index) const |
size_t * | inoff () const |
const uint8_t * | input (uint32_t index) const |
const uint8_t *const * | input () const |
uint16_t | length (uint32_t index) const |
uint16_t * | length () const |
size_t | offset (uint32_t index) const |
size_t * | offset () const |
void | setChannelLoc (uint32_t index, const uint8_t *input, size_t inoff, size_t offset, uint16_t length, stripgpu::fedId_t fedID, stripgpu::fedCh_t fedCh, stripgpu::detId_t detID) |
size_t | size () const |
virtual | ~ChannelLocsBase ()=default |
Private Attributes | |
cms::cuda::device::unique_ptr< ChannelLocsView > | channelLocsViewGPU_ |
Additional Inherited Members | |
Protected Attributes inherited from ChannelLocsBase< cms::cuda::device::unique_ptr > | |
cms::cuda::device::unique_ptr< stripgpu::detId_t[]> | detID_ |
cms::cuda::device::unique_ptr< stripgpu::fedCh_t[]> | fedCh_ |
cms::cuda::device::unique_ptr< stripgpu::fedId_t[]> | fedID_ |
cms::cuda::device::unique_ptr< size_t[]> | inoff_ |
cms::cuda::device::unique_ptr< const uint8_t *[]> | input_ |
cms::cuda::device::unique_ptr< uint16_t[]> | length_ |
cms::cuda::device::unique_ptr< size_t[]> | offset_ |
size_t | size_ |
Definition at line 117 of file ChannelLocsGPU.h.
ChannelLocsGPU::ChannelLocsGPU | ( | size_t | size, |
cudaStream_t | stream | ||
) |
Definition at line 32 of file ChannelLocsGPU.cc.
References channelLocsView(), channelLocsViewGPU_, cms::cuda::copyAsync(), ChannelLocsBase< cms::cuda::device::unique_ptr >::detID_, ChannelLocsBase< cms::cuda::device::unique_ptr >::fedCh_, ChannelLocsBase< cms::cuda::device::unique_ptr >::fedID_, ChannelLocsView::fill(), ChannelLocsBase< cms::cuda::device::unique_ptr >::inoff_, ChannelLocsBase< cms::cuda::device::unique_ptr >::input_, ChannelLocsBase< cms::cuda::device::unique_ptr >::length_, ChannelLocsBase< cms::cuda::device::unique_ptr >::offset_, ChannelLocsBase< cms::cuda::device::unique_ptr >::size(), and cms::cuda::stream.
|
inline |
Definition at line 121 of file ChannelLocsGPU.h.
|
delete |
|
delete |
|
overridedefault |
|
inline |
Definition at line 132 of file ChannelLocsGPU.h.
References channelLocsViewGPU_.
Referenced by ChannelLocsGPU().
|
delete |
|
delete |
void ChannelLocsGPU::setVals | ( | const ChannelLocs * | c, |
cms::cuda::host::unique_ptr< const uint8_t *[]> | inputGPU, | ||
cudaStream_t | stream | ||
) |
Definition at line 49 of file ChannelLocsGPU.cc.
References cms::cuda::assert(), HltBtagPostValidation_cff::c, cms::cuda::copyAsync(), ChannelLocsBase< cms::cuda::device::unique_ptr >::detID_, ChannelLocsBase< cms::cuda::device::unique_ptr >::fedCh_, ChannelLocsBase< cms::cuda::device::unique_ptr >::fedID_, ChannelLocsBase< cms::cuda::device::unique_ptr >::inoff_, ChannelLocsBase< cms::cuda::device::unique_ptr >::input_, ChannelLocsBase< cms::cuda::device::unique_ptr >::length_, ChannelLocsBase< cms::cuda::device::unique_ptr >::offset_, ChannelLocsBase< cms::cuda::device::unique_ptr >::size_, and cms::cuda::stream.
|
private |
Definition at line 135 of file ChannelLocsGPU.h.
Referenced by ChannelLocsGPU(), and channelLocsView().