Skip to content

Commit b097b2a

Browse files
authored
Merge pull request #43820 from fwyzard/fix_loop_in_vertexFinder_splitVertices
Fix loop in vertexFinder::splitVertices(acc, ...)
2 parents e5181ee + 5ab8cd9 commit b097b2a

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)