Go to the documentation of this file. 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
cms::cuda::device::unique_ptr< uint32_t[]> rawIdArr_d
cms::cuda::device::unique_ptr< uint16_t[]> adc_d
SiPixelDigisCUDA()=default
const uint16_t * xx() const
void setNModulesDigis(uint32_t nModules, uint32_t nDigis)
cms::cuda::host::unique_ptr< uint32_t[]> pdigiToHostAsync(cudaStream_t stream) const
SiPixelDigisCUDA & operator=(const SiPixelDigisCUDA &)=delete
cms::cuda::device::unique_ptr< uint32_t[]> pdigi_d
cms::cuda::device::unique_ptr< DeviceConstView > view_d
const uint16_t * yy() const
cms::cuda::host::unique_ptr< uint16_t[]> adcToHostAsync(cudaStream_t stream) const
const uint16_t * adc() const
const uint16_t * moduleInd() const
const uint16_t * moduleInd_
~SiPixelDigisCUDA()=default
cms::cuda::device::unique_ptr< uint16_t[]> moduleInd_d
const uint32_t * rawIdArr() const
uint32_t nModules() const
cms::cuda::device::unique_ptr< uint16_t[]> yy_d
cms::cuda::device::unique_ptr< uint16_t[]> xx_d
const uint32_t * pdigi() const
cms::cuda::host::unique_ptr< int32_t[]> clusToHostAsync(cudaStream_t stream) const
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
cms::cuda::device::unique_ptr< int32_t[]> clus_d
const int32_t * clus() const
const DeviceConstView * view() const
cms::cuda::host::unique_ptr< uint32_t[]> rawIdArrToHostAsync(cudaStream_t stream) const
std::unique_ptr< T, impl::HostDeleter > unique_ptr