1 #ifndef CUDADataFormats_SiPixelDigi_interface_SiPixelDigisCUDASOAView_h 2 #define CUDADataFormats_SiPixelDigi_interface_SiPixelDigisCUDASOAView_h 4 #include <cuda_runtime.h> 46 template <
typename StoreType>
57 template <
typename StoreType>
73 const uint16_t*
xx()
const {
return xx_; }
74 const uint16_t*
yy()
const {
return yy_; }
75 const uint16_t*
adc()
const {
return adc_; }
98 template <
typename ReturnType,
typename StoreType,
typename LocationType>
104 constexpr
int mul = 128 /
sizeof(uint16_t);
105 return ((
size + mul - 1) / mul) * mul;
static int roundFor128ByteAlignment(int size)
const uint16_t * yy() const
const uint16_t * xx() const
SiPixelDigisCUDASOAView(StoreType &store, int maxFedWords, StorageLocation s)
const uint32_t * pdigi() const
const int32_t * clus() const
std::map< DetId, double > ReturnType
const uint16_t * adc() const
ReturnType * getColumnAddress(LocationType column, StoreType &store, int size)
SiPixelDigisCUDASOAView(StoreType &store, int maxFedWords, StorageLocationHost s)
SiPixelDigisCUDASOAView()=default
const uint32_t * rawIdArr() const
const uint16_t * moduleInd() const