1 #ifndef CUDADataFormats_SiPixelDigi_interface_SiPixelDigisCUDA_h
2 #define CUDADataFormats_SiPixelDigi_interface_SiPixelDigisCUDA_h
4 #include <cuda_runtime.h>
29 uint16_t *
xx() {
return xx_d.get(); }
30 uint16_t *
yy() {
return yy_d.get(); }
37 uint16_t
const *
xx()
const {
return xx_d.get(); }
38 uint16_t
const *
yy()
const {
return yy_d.get(); }
39 uint16_t
const *
adc()
const {
return adc_d.get(); }
85 #endif // CUDADataFormats_SiPixelDigi_interface_SiPixelDigisCUDA_h
uint32_t const * pdigi() const
uint16_t const * moduleInd() const
~SiPixelDigisCUDA()=default
cms::cuda::device::unique_ptr< uint16_t[]> xx_d
uint32_t const * rawIdArr() const
cms::cuda::device::unique_ptr< uint16_t[]> moduleInd_d
int32_t const * clus() const
cms::cuda::device::unique_ptr< int32_t[]> clus_d
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
cms::cuda::device::unique_ptr< uint16_t[]> yy_d
cms::cuda::host::unique_ptr< uint32_t[]> pdigiToHostAsync(cudaStream_t stream) const
uint16_t const * adc() const
uint32_t nModules() const
cms::cuda::device::unique_ptr< uint16_t[]> adc_d
uint16_t const * yy() const
const DeviceConstView * view() const
uint16_t const * xx() const
cms::cuda::host::unique_ptr< uint16_t[]> adcToHostAsync(cudaStream_t stream) const
cms::cuda::device::unique_ptr< uint32_t[]> rawIdArr_d
SiPixelDigisCUDA & operator=(const SiPixelDigisCUDA &)=delete
cms::cuda::host::unique_ptr< uint32_t[]> rawIdArrToHostAsync(cudaStream_t stream) const
uint16_t const * moduleInd_
SiPixelDigisCUDA()=default
cms::cuda::device::unique_ptr< uint32_t[]> pdigi_d
cms::cuda::host::unique_ptr< int32_t[]> clusToHostAsync(cudaStream_t stream) const
cms::cuda::device::unique_ptr< DeviceConstView > view_d
void setNModulesDigis(uint32_t nModules, uint32_t nDigis)
std::unique_ptr< T, impl::HostDeleter > unique_ptr