Skip to content

Commit

Permalink
Fix for wrong loop range in pT3 kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
VourMa committed Jul 21, 2024
1 parent 5d0ef1e commit 1a6e27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecoTracker/LSTCore/src/alpaka/Kernels.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ namespace lst {
int hits1[Params_T3::kHits];
int hits2[Params_T3::kHits];

for (int i = 0; i < Params_pLS::kHits; i++) {
for (int i = 0; i < Params_T3::kHits; i++) {
hits1[i] = pixelTripletsInGPU.hitIndices[Params_pT3::kHits * ix + i + 4]; // Omitting the pLS hits
hits2[i] = pixelTripletsInGPU.hitIndices[Params_pT3::kHits * jx + i + 4]; // Omitting the pLS hits
}
Expand Down

0 comments on commit 1a6e27b

Please sign in to comment.