#include <SiPixelDigiErrorsCUDA.h>
Definition at line 12 of file SiPixelDigiErrorsCUDA.h.
SiPixelDigiErrorsCUDA::SiPixelDigiErrorsCUDA |
( |
| ) |
|
|
default |
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(), and cms::cuda::memsetAsync().
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 |
( |
| ) |
|
|
default |
void SiPixelDigiErrorsCUDA::copyErrorToHostAsync |
( |
cudaStream_t |
stream | ) |
|
Definition at line 23 of file SiPixelDigiErrorsCUDA.cc.
References cms::cuda::copyAsync(), error_d, and error_h.
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)
Definition at line 27 of file SiPixelDigiErrorsCUDA.cc.
References cms::cuda::copyAsync(), data, data_d, submitPVValidationJobs::err, error_h, eostools::move(), and cms::cuda::stream.
31 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]