From: Eduardo DAVILA Date: Fri, 21 Jan 2022 17:35:51 +0000 (+0100) Subject: #3484 Bug ImageBoundaries box OpenMP X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ea00dc921f6ef25587cc403f0bc029f1c804f6da;p=bbtk.git #3484 Bug ImageBoundaries box OpenMP --- diff --git a/packages/vtk/src/bbvtkImageBoundaries.cxx b/packages/vtk/src/bbvtkImageBoundaries.cxx index 1a2128c..c477aad 100644 --- a/packages/vtk/src/bbvtkImageBoundaries.cxx +++ b/packages/vtk/src/bbvtkImageBoundaries.cxx @@ -89,16 +89,16 @@ int k4omp=(double)(maxZ-1)*0.6; int k5omp=(double)(maxZ-1)*0.8; int k6omp=(double)(maxZ-1)*1.0; -printf("EED ImageBoundaries::Process (with openmp)\n"); +//printf("EED ImageBoundaries::Process (with openmp)\n"); // http://jakascorner.com/blog/2016/05/omp-for.html -#pragma omp parallel shared(maxZ,bXMin,bYMin,bZMin,bXMax,bYMax,bZMax) -{ +//#pragma omp parallel shared(maxZ,bXMin,bYMin,bZMin,bXMax,bYMax,bZMax) +//{ #pragma omp for for ( k=0 ; k tmpIndex; std::vector tmpSize;