File indexing completed on 2025-07-03 00:42:42
0001 #include "HeterogeneousCore/AlpakaInterface/interface/config.h"
0002 #include "HelixFit.h"
0003
0004 namespace ALPAKA_ACCELERATOR_NAMESPACE {
0005 template <typename TrackerTraits>
0006 void HelixFit<TrackerTraits>::allocate(TupleMultiplicity const *tupleMultiplicity,
0007 OutputSoAView &helix_fit_results,
0008 Tuples const *__restrict__ foundNtuplets) {
0009 tuples_ = foundNtuplets;
0010 tupleMultiplicity_ = tupleMultiplicity;
0011 outputSoa_ = helix_fit_results;
0012
0013 ALPAKA_ASSERT_ACC(tuples_);
0014 ALPAKA_ASSERT_ACC(tupleMultiplicity_);
0015 ALPAKA_ASSERT_ACC(helix_fit_results.pt());
0016 }
0017
0018 template <typename TrackerTraits>
0019 void HelixFit<TrackerTraits>::deallocate() {}
0020
0021 template class HelixFit<pixelTopology::Phase1>;
0022 template class HelixFit<pixelTopology::Phase2>;
0023 template class HelixFit<pixelTopology::HIonPhase1>;
0024 }