Definition at line 22 of file PixelTrackSoAFromCUDA.cc.
◆ PixelTrackSoAFromCUDA()
Definition at line 41 of file PixelTrackSoAFromCUDA.cc.
43 tokenSOA_(produces<PixelTrackHeterogeneous>()) {}
T getParameter(std::string const &) const
edm::EDPutTokenT< PixelTrackHeterogeneous > tokenSOA_
edm::EDGetTokenT< cms::cuda::Product< PixelTrackHeterogeneous > > tokenCUDA_
◆ ~PixelTrackSoAFromCUDA()
PixelTrackSoAFromCUDA::~PixelTrackSoAFromCUDA |
( |
| ) |
|
|
overridedefault |
◆ acquire()
Definition at line 52 of file PixelTrackSoAFromCUDA.cc.
References iEvent, eostools::move(), soa_, and tokenCUDA_.
57 auto const& inputData = ctx.get(inputDataWrapped);
59 soa_ = inputData.toHostAsync(ctx.stream());
cms::cuda::host::unique_ptr< pixelTrack::TrackSoA > soa_
edm::EDGetTokenT< cms::cuda::Product< PixelTrackHeterogeneous > > tokenCUDA_
◆ fillDescriptions()
◆ produce()
Definition at line 62 of file PixelTrackSoAFromCUDA.cc.
References cms::cuda::assert(), gather_cfg::cout, iEvent, DMR_cfg::maxTracks, eostools::move(), nHits, nt, BeamSpotPI::nTracks, soa_, and tokenSOA_.
64 auto const& tsoa = *
soa_;
73 #ifdef PIXEL_DEBUG_PRODUCE 75 std::cout <<
"found " <<
nTracks <<
" tracks in cpu SoA at " << &tsoa << std::endl;
78 for (int32_t it = 0; it <
maxTracks; ++it) {
79 auto nHits = tsoa.nHits(it);
edm::EDPutTokenT< PixelTrackHeterogeneous > tokenSOA_
cms::cuda::host::unique_ptr< pixelTrack::TrackSoA > soa_
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
Log< level::Warning, false > LogWarning
◆ soa_
◆ tokenCUDA_
◆ tokenSOA_