From 786b1d16d8e43a817aabedf680671f6f807cf81b Mon Sep 17 00:00:00 2001 From: kradchen Date: Mon, 5 Jun 2023 15:00:19 +0800 Subject: [PATCH] Add omp for detectTofVectorized --- src/transmissionReconstruction/detection/detection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transmissionReconstruction/detection/detection.cpp b/src/transmissionReconstruction/detection/detection.cpp index ee3e0b8..c8bd80d 100644 --- a/src/transmissionReconstruction/detection/detection.cpp +++ b/src/transmissionReconstruction/detection/detection.cpp @@ -223,7 +223,7 @@ namespace Recon { // c(mxl + mxl, $) = c1(mxl, $); auto shiftInSamples = zeros(1, c1.getDimSize(1)); - // #pragma omp parallel for + #pragma omp parallel for for (size_t i = 0; i < c1.getDimSize(1); i++) { long rowID = 0, colID = 0; max(c($, i).toMatrix(), All, rowID, colID);