Go to the documentation of this file. 1 #ifndef CUDADataFormats_TrackingRecHit_interface_TrackingRecHit2DHeterogeneous_h
2 #define CUDADataFormats_TrackingRecHit_interface_TrackingRecHit2DHeterogeneous_h
7 template <
typename Traits>
44 static constexpr uint32_t
n16 = 4;
45 static constexpr uint32_t
n32 = 9;
46 static_assert(
sizeof(uint32_t) ==
sizeof(
float));
69 template <
typename Traits>
72 uint32_t
const* hitsModuleStart,
74 : m_nHits(
nHits), m_hitsModuleStart(hitsModuleStart) {
122 view->
m_xsize = reinterpret_cast<int16_t*>(get16(2));
123 view->
m_ysize = reinterpret_cast<int16_t*>(get16(3));
141 #endif // CUDADataFormats_TrackingRecHit_interface_TrackingRecHit2DHeterogeneous_h
TrackingRecHit2DSOAView * view()
uint32_t * m_hitsLayerStart
unique_ptr< TrackingRecHit2DSOAView > m_view
~TrackingRecHit2DHeterogeneous()=default
static constexpr uint32_t n16
const caConstants::TupleMultiplicity *__restrict__ const HitsOnGPU *__restrict__ double *__restrict__ float *__restrict__ double *__restrict__ uint32_t nHits
uint32_t const * m_hitsModuleStart
typename Traits::template unique_ptr< T > unique_ptr
unique_ptr< uint16_t[]> m_store16
static constexpr uint32_t n32
AverageGeometry * m_averageGeometry
auto hitsModuleStart() const
pixelCPEforGPU::ParamsOnGPU const * m_cpeParams
def template(fileName, svg, replaceme="REPLACEME")
unique_ptr< TrackingRecHit2DSOAView::AverageGeometry > m_AverageGeometryStore
TrackingRecHit2DHeterogeneous & operator=(const TrackingRecHit2DHeterogeneous &)=delete
cms::cuda::host::unique_ptr< uint32_t[]> hitsModuleStartToHostAsync(cudaStream_t stream) const
unique_ptr< float[]> m_store32
std::unique_ptr< T, impl::HostDeleter > unique_ptr
cms::cuda::host::unique_ptr< float[]> localCoordToHostAsync(cudaStream_t stream) const
unique_ptr< TrackingRecHit2DSOAView::PhiBinner > m_PhiBinnerStore
TrackingRecHit2DSOAView const * view() const
TrackingRecHit2DHeterogeneous()=default
uint32_t * m_hitsLayerStart
cms::cuda::HistoContainer< int16_t, 128, gpuClustering::maxNumClusters, 8 *sizeof(int16_t), hindex_type, 10 > PhiBinner
uint32_t const * m_hitsModuleStart
void copyAsync(device::unique_ptr< T > &dst, const host::unique_ptr< T > &src, cudaStream_t stream)