#include <SiPixelDigisCUDA.h>
Classes | |
class | DeviceConstView |
Public Member Functions | |
uint16_t * | adc () |
const uint16_t * | adc () const |
cms::cuda::host::unique_ptr< uint16_t[]> | adcToHostAsync (cudaStream_t stream) const |
int32_t * | clus () |
const int32_t * | clus () const |
cms::cuda::host::unique_ptr< int32_t[]> | clusToHostAsync (cudaStream_t stream) const |
uint16_t * | moduleInd () |
const uint16_t * | moduleInd () const |
uint32_t | nDigis () const |
uint32_t | nModules () const |
SiPixelDigisCUDA & | operator= (const SiPixelDigisCUDA &)=delete |
SiPixelDigisCUDA & | operator= (SiPixelDigisCUDA &&)=default |
uint32_t * | pdigi () |
const uint32_t * | pdigi () const |
cms::cuda::host::unique_ptr< uint32_t[]> | pdigiToHostAsync (cudaStream_t stream) const |
uint32_t * | rawIdArr () |
const uint32_t * | rawIdArr () const |
cms::cuda::host::unique_ptr< uint32_t[]> | rawIdArrToHostAsync (cudaStream_t stream) const |
void | setNModulesDigis (uint32_t nModules, uint32_t nDigis) |
SiPixelDigisCUDA ()=default | |
SiPixelDigisCUDA (const SiPixelDigisCUDA &)=delete | |
SiPixelDigisCUDA (SiPixelDigisCUDA &&)=default | |
SiPixelDigisCUDA (size_t maxFedWords, cudaStream_t stream) | |
const DeviceConstView * | view () const |
uint16_t * | xx () |
const uint16_t * | xx () const |
uint16_t * | yy () |
const uint16_t * | yy () const |
~SiPixelDigisCUDA ()=default | |
Private Attributes | |
cms::cuda::device::unique_ptr< uint16_t[]> | adc_d |
cms::cuda::device::unique_ptr< int32_t[]> | clus_d |
cms::cuda::device::unique_ptr< uint16_t[]> | moduleInd_d |
uint32_t | nDigis_h = 0 |
uint32_t | nModules_h = 0 |
cms::cuda::device::unique_ptr< uint32_t[]> | pdigi_d |
cms::cuda::device::unique_ptr< uint32_t[]> | rawIdArr_d |
cms::cuda::device::unique_ptr< DeviceConstView > | view_d |
cms::cuda::device::unique_ptr< uint16_t[]> | xx_d |
cms::cuda::device::unique_ptr< uint16_t[]> | yy_d |
Definition at line 10 of file SiPixelDigisCUDA.h.
|
default |
|
explicit |
Definition at line 6 of file SiPixelDigisCUDA.cc.
References SiPixelDigisCUDA::DeviceConstView::adc_, adc_d, SiPixelDigisCUDA::DeviceConstView::clus_, clus_d, cms::cuda::copyAsync(), SiPixelDigisCUDA::DeviceConstView::moduleInd_, moduleInd_d, cms::cuda::stream, view(), view_d, SiPixelDigisCUDA::DeviceConstView::xx_, xx_d, SiPixelDigisCUDA::DeviceConstView::yy_, and yy_d.
|
default |
|
delete |
|
default |
|
inline |
|
inline |
cms::cuda::host::unique_ptr< uint16_t[]> SiPixelDigisCUDA::adcToHostAsync | ( | cudaStream_t | stream | ) | const |
Definition at line 24 of file SiPixelDigisCUDA.cc.
References adc_d, cms::cuda::copyAsync(), nDigis(), runTheMatrix::ret, and cms::cuda::stream.
|
inline |
|
inline |
cms::cuda::host::unique_ptr< int32_t[]> SiPixelDigisCUDA::clusToHostAsync | ( | cudaStream_t | stream | ) | const |
Definition at line 30 of file SiPixelDigisCUDA.cc.
References clus_d, cms::cuda::copyAsync(), nDigis(), runTheMatrix::ret, and cms::cuda::stream.
|
inline |
|
inline |
|
inline |
Definition at line 27 of file SiPixelDigisCUDA.h.
References nDigis_h.
Referenced by adcToHostAsync(), clusToHostAsync(), pdigiToHostAsync(), rawIdArrToHostAsync(), and setNModulesDigis().
|
inline |
Definition at line 26 of file SiPixelDigisCUDA.h.
References nModules_h.
Referenced by setNModulesDigis().
|
delete |
|
default |
|
inline |
|
inline |
cms::cuda::host::unique_ptr< uint32_t[]> SiPixelDigisCUDA::pdigiToHostAsync | ( | cudaStream_t | stream | ) | const |
Definition at line 36 of file SiPixelDigisCUDA.cc.
References cms::cuda::copyAsync(), nDigis(), pdigi_d, runTheMatrix::ret, and cms::cuda::stream.
|
inline |
|
inline |
cms::cuda::host::unique_ptr< uint32_t[]> SiPixelDigisCUDA::rawIdArrToHostAsync | ( | cudaStream_t | stream | ) | const |
Definition at line 42 of file SiPixelDigisCUDA.cc.
References cms::cuda::copyAsync(), nDigis(), rawIdArr_d, runTheMatrix::ret, and cms::cuda::stream.
|
inline |
Definition at line 21 of file SiPixelDigisCUDA.h.
References nDigis(), nDigis_h, nModules(), and nModules_h.
Referenced by pixelgpudetails::SiPixelRawToClusterGPUKernel::getResults().
|
inline |
Definition at line 65 of file SiPixelDigisCUDA.h.
References view_d.
Referenced by SiPixelDigisCUDA().
|
inline |
Definition at line 29 of file SiPixelDigisCUDA.h.
References xx_d.
Referenced by geometryXMLparser.Alignable::covariance().
|
inline |
Definition at line 37 of file SiPixelDigisCUDA.h.
References xx_d.
Referenced by geometryXMLparser.Alignable::covariance().
|
inline |
Definition at line 30 of file SiPixelDigisCUDA.h.
References yy_d.
Referenced by geometryXMLparser.Alignable::covariance().
|
inline |
Definition at line 38 of file SiPixelDigisCUDA.h.
References yy_d.
Referenced by geometryXMLparser.Alignable::covariance().
|
private |
Definition at line 71 of file SiPixelDigisCUDA.h.
Referenced by adc(), adcToHostAsync(), and SiPixelDigisCUDA().
|
private |
Definition at line 73 of file SiPixelDigisCUDA.h.
Referenced by clus(), clusToHostAsync(), and SiPixelDigisCUDA().
|
private |
Definition at line 72 of file SiPixelDigisCUDA.h.
Referenced by moduleInd(), and SiPixelDigisCUDA().
|
private |
Definition at line 82 of file SiPixelDigisCUDA.h.
Referenced by nDigis(), and setNModulesDigis().
|
private |
Definition at line 81 of file SiPixelDigisCUDA.h.
Referenced by nModules(), and setNModulesDigis().
|
private |
Definition at line 78 of file SiPixelDigisCUDA.h.
Referenced by pdigi(), and pdigiToHostAsync().
|
private |
Definition at line 79 of file SiPixelDigisCUDA.h.
Referenced by rawIdArr(), and rawIdArrToHostAsync().
|
private |
Definition at line 74 of file SiPixelDigisCUDA.h.
Referenced by SiPixelDigisCUDA(), and view().
|
private |
Definition at line 69 of file SiPixelDigisCUDA.h.
Referenced by SiPixelDigisCUDA(), and xx().
|
private |
Definition at line 70 of file SiPixelDigisCUDA.h.
Referenced by SiPixelDigisCUDA(), and yy().