Skip to content

Commit 434a3c3

Browse files
committed
call fast path & reduce more flots
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent ba0eeb3 commit 434a3c3

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ GPUg() void __launch_bounds__(GPUThreads, MinBlocks.computeLayerCellNeighbours)
205205
continue;
206206
}
207207

208-
float chi2 = currentCellSeed.getPredictedChi2(nextCellSeed);
208+
float chi2 = currentCellSeed.getPredictedChi2Fast(nextCellSeed);
209209
if (chi2 > maxChi2ClusterAttachment) {
210210
continue;
211211
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ GPUhdi() float computeCurvatureCentreX(float x1, float y1, float x2, float y2, f
6868
float dx21 = x2 - x1, dx32 = x3 - x2;
6969
if (o2::gpu::CAMath::Abs(dx21) < o2::its::constants::Tolerance ||
7070
o2::gpu::CAMath::Abs(dx32) < o2::its::constants::Tolerance) { // add small offset
71-
x2 += 1e-4;
71+
x2 += 1e-4f;
7272
dx21 = x2 - x1;
7373
dx32 = x3 - x2;
7474
}

Detectors/ITSMFT/ITS/tracking/src/TrackerTraits.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ void TrackerTraits<NLayers>::findCellsNeighbours(const int iteration)
521521
continue;
522522
}
523523

524-
float chi2 = currentCellSeed.getPredictedChi2(nextCellSeed);
524+
float chi2 = currentCellSeed.getPredictedChi2Fast(nextCellSeed);
525525
if (chi2 > mTrkParams[iteration].MaxChi2ClusterAttachment) {
526526
continue;
527527
}

0 commit comments

Comments
 (0)