1 #ifndef CUDADataFormats_TrackingRecHit_interface_TrackingRecHit2DHeterogeneous_h
2 #define CUDADataFormats_TrackingRecHit_interface_TrackingRecHit2DHeterogeneous_h
8 template <
typename Traits>
55 static constexpr uint32_t
n16 = 4;
56 static constexpr uint32_t
n32 = 10;
57 static_assert(
sizeof(uint32_t) ==
sizeof(
float));
87 template <
typename Traits>
93 uint32_t
const* hitsModuleStart,
96 : m_nHits(nHits), m_offsetBPIX2(offsetBPIX2), m_hitsModuleStart(hitsModuleStart) {
165 view->
m_xsize =
reinterpret_cast<int16_t*
>(get16(2));
166 view->
m_ysize =
reinterpret_cast<int16_t*
>(get16(3));
181 #endif // CUDADataFormats_TrackingRecHit_interface_TrackingRecHit2DHeterogeneous_h
cms::cuda::host::unique_ptr< float[]> localCoordToHostAsync(cudaStream_t stream) const
unique_ptr< float[]> m_store32
PhiBinner::index_type * m_phiBinnerStorage
uint32_t * m_hitsLayerStart
constexpr uint32_t numberOfLayers
auto hitsModuleStart() const
void copyFromGPU(TrackingRecHit2DHeterogeneous< cms::cudacompat::GPUTraits > const *input, cudaStream_t stream)
unique_ptr< TrackingRecHit2DSOAView > m_view
static constexpr uint32_t n32
~TrackingRecHit2DHeterogeneous()=default
constexpr uint32_t numberOfModules
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
uint32_t * m_hitsLayerStart
uint32_t const * m_hitsModuleStart
cms::cuda::host::unique_ptr< uint32_t[]> hitsModuleStartToHostAsync(cudaStream_t stream) const
static std::string const input
typename Traits::template unique_ptr< T > unique_ptr
unique_ptr< uint16_t[]> m_store16
static constexpr uint32_t n16
typename Base::index_type index_type
cms::cuda::HistoContainer< int16_t, 256,-1, 8 *sizeof(int16_t), hindex_type, pixelTopology::maxLayers > PhiBinner
unique_ptr< TrackingRecHit2DSOAView::AverageGeometry > m_AverageGeometryStore
void copyAsync(device::unique_ptr< T > &dst, const host::unique_ptr< T > &src, cudaStream_t stream)
PhiBinner::index_type * m_phiBinnerStorage
TrackingRecHit2DHeterogeneous & operator=(const TrackingRecHit2DHeterogeneous &)=delete
TrackingRecHit2DSOAView const * view() const
constexpr uint32_t numberOfModules
TrackingRecHit2DHeterogeneous()=default
AverageGeometry * m_averageGeometry
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t nHits
constexpr uint8_t numberOfLayers
uint32_t const * m_hitsModuleStart
std::unique_ptr< T, impl::HostDeleter > unique_ptr
pixelCPEforGPU::ParamsOnGPU const * m_cpeParams
TrackingRecHit2DSOAView * view()
unique_ptr< TrackingRecHit2DSOAView::PhiBinner > m_PhiBinnerStore