Skip to content

Commit 2e0adca

Browse files
committed
fix2
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent 080b8e8 commit 2e0adca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ GPUg() void __launch_bounds__(256, 1) computeLayerCellNeighboursKernel(
197197
}
198198

199199
if constexpr (initRun) {
200-
atomicAdd(neighboursCursor + iNextCell + 1, 1);
200+
atomicAdd(neighboursCursor + iNextCell, 1);
201201
} else {
202202
const int offset = atomicAdd(neighboursCursor + iNextCell, 1);
203203
cellNeighbours[offset] = {sourceCellTopologyId, iCurrentCellIndex, targetCellTopologyId, iNextCell, currentCellSeed.getLevel() + 1};

0 commit comments

Comments
 (0)