Skip to content

Commit 17e8932

Browse files
committed
Guard 11 layers implementations with ENABLE_UPGRADES
1 parent d10bb4b commit 17e8932

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,5 +380,7 @@ void TrackerTraitsGPU<NLayers>::setBz(float bz)
380380
}
381381

382382
template class TrackerTraitsGPU<7>;
383+
#ifdef ENABLE_UPGRADES
383384
template class TrackerTraitsGPU<11>;
385+
#endif
384386
} // namespace o2::its

Detectors/ITSMFT/ITS/tracking/GPU/cuda/TrackingKernels.cu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,7 @@ template void computeTrackSeedHandler(TrackSeed<7>* trackSeeds,
12591259
o2::its::ExternalAllocator* alloc);
12601260

12611261
/// Explicit instantiation of ALICE3 handlers
1262+
#ifdef ENABLE_UPGRADES
12621263
template void countTrackletsInROFsHandler<11>(const IndexTableUtils<11>* utils,
12631264
const ROFMaskTable<11>::View& rofMask,
12641265
const int layer,
@@ -1437,5 +1438,5 @@ template void computeTrackSeedHandler(TrackSeed<11>* trackSeeds,
14371438
const o2::base::Propagator* propagator,
14381439
const o2::base::PropagatorF::MatCorrType matCorrType,
14391440
o2::its::ExternalAllocator* alloc);
1440-
1441+
#endif
14411442
} // namespace o2::its

0 commit comments

Comments
 (0)