#include <SiPixelDigiErrorsCUDA.h>
Definition at line 12 of file SiPixelDigiErrorsCUDA.h.
◆ HostDataError
◆ SiPixelErrorCompactVector
◆ SiPixelDigiErrorsCUDA() [1/4]
SiPixelDigiErrorsCUDA::SiPixelDigiErrorsCUDA |
( |
| ) |
|
|
default |
◆ SiPixelDigiErrorsCUDA() [2/4]
SiPixelDigiErrorsCUDA::SiPixelDigiErrorsCUDA |
( |
size_t |
maxFedWords, |
|
|
SiPixelFormatterErrors |
errors, |
|
|
cudaStream_t |
stream |
|
) |
| |
|
explicit |
Definition at line 9 of file SiPixelDigiErrorsCUDA.cc.
References cms::cuda::assert(), cms::cuda::copyAsync(), data_d, error_d, error_h, cms::cuda::make_SimpleVector(), cms::cuda::memsetAsync(), and cms::cuda::stream.
11 error_d(cms::cuda::make_device_unique<SiPixelErrorCompactVector>(
stream)),
12 error_h(cms::cuda::make_host_unique<SiPixelErrorCompactVector>(
stream)),
void memsetAsync(device::unique_ptr< T > &ptr, T value, cudaStream_t stream)
cms::cuda::host::unique_ptr< SiPixelErrorCompactVector > error_h
SimpleVector< T > make_SimpleVector(int capacity, T *data)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
cms::cuda::device::unique_ptr< SiPixelErrorCompact[]> data_d
cms::cuda::device::unique_ptr< SiPixelErrorCompactVector > error_d
SiPixelFormatterErrors formatterErrors_h
void copyAsync(device::unique_ptr< T > &dst, const host::unique_ptr< T > &src, cudaStream_t stream)
device::impl::make_device_unique_selector< T >::non_array make_device_unique(cudaStream_t stream)
◆ ~SiPixelDigiErrorsCUDA()
SiPixelDigiErrorsCUDA::~SiPixelDigiErrorsCUDA |
( |
| ) |
|
|
default |
◆ SiPixelDigiErrorsCUDA() [3/4]
◆ SiPixelDigiErrorsCUDA() [4/4]
◆ copyErrorToHostAsync()
void SiPixelDigiErrorsCUDA::copyErrorToHostAsync |
( |
cudaStream_t |
stream | ) |
|
Definition at line 25 of file SiPixelDigiErrorsCUDA.cc.
References cms::cuda::copyAsync(), error_d, error_h, and cms::cuda::stream.
cms::cuda::host::unique_ptr< SiPixelErrorCompactVector > error_h
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
cms::cuda::device::unique_ptr< SiPixelErrorCompactVector > error_d
void copyAsync(device::unique_ptr< T > &dst, const host::unique_ptr< T > &src, cudaStream_t stream)
◆ dataErrorToHostAsync()
Definition at line 29 of file SiPixelDigiErrorsCUDA.cc.
References cms::cuda::copyAsync(), data, data_d, submitPVResolutionJobs::err, error_h, eostools::move(), and cms::cuda::stream.
33 auto data = cms::cuda::make_host_unique<SiPixelErrorCompact[]>(
error_h->capacity(),
stream);
cms::cuda::host::unique_ptr< SiPixelErrorCompactVector > error_h
std::pair< SiPixelErrorCompactVector, cms::cuda::host::unique_ptr< SiPixelErrorCompact[]> > HostDataError
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
cms::cuda::device::unique_ptr< SiPixelErrorCompact[]> data_d
void copyAsync(device::unique_ptr< T > &dst, const host::unique_ptr< T > &src, cudaStream_t stream)
char data[epos_bytes_allocation]
◆ error() [1/2]
◆ error() [2/2]
◆ formatterErrors()
◆ nErrorWords()
int SiPixelDigiErrorsCUDA::nErrorWords |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ data_d
◆ error_d
◆ error_h
◆ formatterErrors_h
◆ nErrorWords_
int SiPixelDigiErrorsCUDA::nErrorWords_ = 0 |
|
private |