From 67ad3ee24860df277e4dde4c684fa94e50689d45 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Mon, 13 Feb 2017 15:39:51 +0100 Subject: [PATCH] small speedup for fuji_compressed_load_raw() --- rtengine/fujicompressed.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/fujicompressed.cc b/rtengine/fujicompressed.cc index 2af218756..2e0b83485 100644 --- a/rtengine/fujicompressed.cc +++ b/rtengine/fujicompressed.cc @@ -944,7 +944,7 @@ void CLASS fuji_decode_loop (const struct fuji_compressed_params* common_info, i { #ifdef _OPENMP - #pragma omp parallel for + #pragma omp parallel for schedule(dynamic,1) // dynamic scheduling is faster if count > number of cores (e.g. count for GFX 50S is 12) #endif for (int cur_block = 0; cur_block < count ; cur_block++) {