Skip to content

Commit 1444985

Browse files
committed
ITS: fix GPU compilation
1 parent 849d078 commit 1444985

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ GPUdi() bool followTrackExtensionDirection(const TrackExtensionStartState<NLayer
287287
phiBinsNum += phiBins;
288288
}
289289

290-
const auto rofRange = getTrackExtensionCompatibleROFRange(rofOverlaps, iLayer, hypo.time);
290+
const auto rofRange = getTrackExtensionCompatibleROFRange<NLayers>(rofOverlaps, iLayer, hypo.time);
291291
for (int rof = rofRange.x; rof <= rofRange.y; ++rof) {
292-
if (!rofMask.isROFEnabled(iLayer, rof) || !isTrackExtensionROFTimeCompatible(rofOverlaps, iLayer, rof, hypo.time)) {
292+
if (!rofMask.isROFEnabled(iLayer, rof) || !isTrackExtensionROFTimeCompatible<NLayers>(rofOverlaps, iLayer, rof, hypo.time)) {
293293
continue;
294294
}
295295
const int rofStart = ROFClusters[iLayer][rof];

Detectors/ITSMFT/ITS/tracking/include/ITStracking/ROFLookupTables.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ struct LayerTiming {
7373
}
7474

7575
// return which ROF this BC belongs to
76-
GPUhi() BCType getROF(BCType bc) const noexcept
76+
GPUhdi() BCType getROF(BCType bc) const noexcept
7777
{
7878
const BCType offset = mROFDelay + mROFBias;
7979
if (bc <= offset) {
@@ -83,7 +83,7 @@ struct LayerTiming {
8383
}
8484

8585
// return which ROF this timestamp belongs by its lower edge
86-
GPUhi() BCType getROF(TimeStamp ts) const noexcept
86+
GPUhdi() BCType getROF(TimeStamp ts) const noexcept
8787
{
8888
const BCType offset = mROFDelay + mROFBias;
8989
const BCType bc = (ts.getTimeStamp() < ts.getTimeStampError()) ? BCType(0) : static_cast<BCType>(o2::gpu::CAMath::Floor(ts.getTimeStamp() - ts.getTimeStampError()));

0 commit comments

Comments
 (0)