From: cristy Date: Mon, 7 Jun 2010 13:16:37 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~9255 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35c0139c63e3a79d9a011aae08e24c72dd0e010f;p=imagemagick --- diff --git a/magick/shear.c b/magick/shear.c index eb3819607..7236712e2 100644 --- a/magick/shear.c +++ b/magick/shear.c @@ -1082,7 +1082,7 @@ static Image *IntegralRotateImage(const Image *image,size_t rotations, */ GetPixelCacheTileSize(image,&tile_width,&tile_height); #if defined(MAGICKCORE_OPENMP_SUPPORT) - #pragma omp parallel for schedule(dynamic,4) shared(progress, status) + #pragma omp parallel for schedule(static,1) shared(progress, status) #endif for (tile_y=0; tile_y < (ssize_t) image->rows; tile_y+=(ssize_t) tile_height) { @@ -1197,7 +1197,7 @@ static Image *IntegralRotateImage(const Image *image,size_t rotations, Rotate 180 degrees. */ #if defined(MAGICKCORE_OPENMP_SUPPORT) - #pragma omp parallel for schedule(dynamic,4) shared(progress,status) + #pragma omp parallel for schedule(static,8) shared(progress,status) #endif for (y=0; y < (ssize_t) image->rows; y++) { @@ -1273,7 +1273,7 @@ static Image *IntegralRotateImage(const Image *image,size_t rotations, */ GetPixelCacheTileSize(image,&tile_width,&tile_height); #if defined(MAGICKCORE_OPENMP_SUPPORT) - #pragma omp parallel for schedule(dynamic,4) shared(progress,status) + #pragma omp parallel for schedule(static,1) shared(progress,status) #endif for (tile_y=0; tile_y < (ssize_t) image->rows; tile_y+=(ssize_t) tile_height) {