1 #include <cuda_runtime.h> 27 template <
typename TrackerTraits>
50 template <
typename TrackerTraits>
52 : m_onGPU(iConfig.getParameter<
bool>(
"onGPU")) {
62 template <
typename TrackerTraits>
66 desc.add<
bool>(
"onGPU",
true);
72 template <
typename TrackerTraits>
77 auto const& hTracks =
iEvent.get(tokenGPUTrack_);
80 auto const&
tracks = ctx.get(hTracks);
81 auto const* tsoa = &
tracks;
89 auto const& tsoa =
iEvent.get(tokenSoATrack_);
92 auto const& vsoa =
iEvent.get(tokenSoAVertex_);
edm::EDGetTokenT< cms::cuda::Product< TrackSoADevice > > tokenGPUTrack_
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
T getParameter(std::string const &) const
edm::EDGetTokenT< cms::cuda::Product< VertexSoADevice > > tokenGPUVertex_
PixelTrackDumpCUDAT(const edm::ParameterSet &iConfig)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< TrackSoAHost > tokenSoATrack_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
void analyze(edm::StreamID streamID, edm::Event const &iEvent, const edm::EventSetup &iSetup) const override
edm::EDGetTokenT< VertexSoAHost > tokenSoAVertex_
#define DEFINE_FWK_MODULE(type)
ZVertexSoAHeterogeneousHost< zVertex::utilities::MAXTRACKS > ZVertexSoAHost
ZVertexSoAHeterogeneousDevice< zVertex::utilities::MAXTRACKS > ZVertexSoADevice
~PixelTrackDumpCUDAT() override=default