Skip to content

Commit e302f1f

Browse files
committed
ITS: GPU: move adoptTimeFrame out-of-line
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent 6f78cf3 commit e302f1f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Detectors/ITSMFT/ITS/tracking/GPU/cuda/TrackerTraitsGPU.cxx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ namespace o2::its
2323
{
2424
constexpr int UnusedIndex{-1};
2525

26+
template <int nLayers>
27+
void TrackerTraitsGPU<nLayers>::adoptTimeFrame(TimeFrame* tf)
28+
{
29+
mTimeFrameGPU = static_cast<gpu::TimeFrameGPU<nLayers>*>(tf);
30+
mTimeFrame = static_cast<TimeFrame*>(tf);
31+
}
32+
2633
template <int nLayers>
2734
void TrackerTraitsGPU<nLayers>::initialiseTimeFrame(const int iteration)
2835
{

0 commit comments

Comments
 (0)