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
SiPixelErrorCompactVector const * error() const
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
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
SiPixelDigiErrorsCUDA & operator=(const SiPixelDigiErrorsCUDA &)=delete
cms::cuda::device::unique_ptr< SiPixelErrorCompact[]> data_d
cms::cuda::device::unique_ptr< SiPixelErrorCompactVector > error_d
~SiPixelDigiErrorsCUDA()=default
SiPixelFormatterErrors formatterErrors_h
HostDataError dataErrorToHostAsync(cudaStream_t stream) const
SiPixelErrorCompactVector * error()
std::unique_ptr< T, impl::HostDeleter > unique_ptr
void copyErrorToHostAsync(cudaStream_t stream)
SiPixelDigiErrorsCUDA()=default
const SiPixelFormatterErrors & formatterErrors() const