From 1a6e27b25632c354875192bf79fb55188d9434df Mon Sep 17 00:00:00 2001 From: Manos Vourliotis Date: Sat, 20 Jul 2024 07:42:27 -0700 Subject: [PATCH] Fix for wrong loop range in pT3 kernel --- RecoTracker/LSTCore/src/alpaka/Kernels.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecoTracker/LSTCore/src/alpaka/Kernels.h b/RecoTracker/LSTCore/src/alpaka/Kernels.h index 0ec8e1ed7de84..76a3e6ef26770 100644 --- a/RecoTracker/LSTCore/src/alpaka/Kernels.h +++ b/RecoTracker/LSTCore/src/alpaka/Kernels.h @@ -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 }