Go to the documentation of this file. 1 #ifndef CUDADataFormats_SiPixelDigi_interface_SiPixelDigiErrorsCUDA_h
2 #define CUDADataFormats_SiPixelDigi_interface_SiPixelDigiErrorsCUDA_h
4 #include <cuda_runtime.h>
30 using HostDataError = std::pair<SiPixelErrorCompactVector, cms::cuda::host::unique_ptr<SiPixelErrorCompact[]>>;
42 #endif // CUDADataFormats_SiPixelDigi_interface_SiPixelDigiErrorsCUDA_h
SiPixelDigiErrorsCUDA & operator=(const SiPixelDigiErrorsCUDA &)=delete
SiPixelErrorCompactVector const * error() const
SiPixelErrorCompactVector * error()
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
HostDataError dataErrorToHostAsync(cudaStream_t stream) const
const SiPixelFormatterErrors & formatterErrors() const
SiPixelFormatterErrors formatterErrors_h
std::pair< SiPixelErrorCompactVector, cms::cuda::host::unique_ptr< SiPixelErrorCompact[]> > HostDataError
SiPixelDigiErrorsCUDA()=default
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
~SiPixelDigiErrorsCUDA()=default
void copyErrorToHostAsync(cudaStream_t stream)
cms::cuda::device::unique_ptr< SiPixelErrorCompact[]> data_d
std::unique_ptr< T, impl::HostDeleter > unique_ptr
cms::cuda::device::unique_ptr< SiPixelErrorCompactVector > error_d
cms::cuda::host::unique_ptr< SiPixelErrorCompactVector > error_h