Skip to content

Commit 2b3390b

Browse files
committed
GPU: Fix TPC track merging with uneven number of threads
1 parent 988ba8e commit 2b3390b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GPU/GPUTracking/Merger/GPUTPCGMMerger.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ GPUd() void GPUTPCGMMerger::MergeSlicesPrepare(int nBlocks, int nThreads, int iB
10161016
n += NSLICES;
10171017
b += NSLICES;
10181018
}
1019-
MakeBorderTracks((nBlocks + 1) >> 1, nThreads, iBlock >> 1, iThread, border, b, n, useOrigTrackParam);
1019+
MakeBorderTracks((nBlocks + !part2) >> 1, nThreads, iBlock >> 1, iThread, border, b, n, useOrigTrackParam);
10201020
}
10211021

10221022
GPUdi() void GPUTPCGMMerger::setBlockRange(int elems, int nBlocks, int iBlock, int& start, int& end)

0 commit comments

Comments
 (0)