Skip to content

Commit 5ab8cd9

Browse files
committed
Fix loop in vertexFinder::splitVertices(acc, ...)
1 parent 2e8c612 commit 5ab8cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RecoTracker/PixelVertexFinding/plugins/alpaka/splitVertices.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE {
6767
alpaka::syncBlockThreads(acc);
6868

6969
// copy to local
70-
for (auto k : cms::alpakatools::elements_with_stride(acc, nt)) {
70+
for (auto k : cms::alpakatools::independent_group_elements(acc, nt)) {
7171
if (iv[k] == int(kv)) {
7272
auto old = alpaka::atomicInc(acc, &nq, MAXTK, alpaka::hierarchy::Threads{});
7373
zz[old] = zt[k] - zv[kv];

0 commit comments

Comments
 (0)