Skip to content

Commit 8998cc8

Browse files
fix coeffs to be shared in dt_masks_blur_approx_weighed
it's **not** constant :-(
1 parent d2d3a67 commit 8998cc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/develop/masks/detail.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,8 @@ void dt_masks_blur_approx_weighed(float *const restrict src, float *const restri
341341
#ifdef _OPENMP
342342
#pragma omp parallel for simd default(none) \
343343
dt_omp_firstprivate(src, out, weight) \
344-
dt_omp_sharedconst(coeffs, width, height, w1, w2, w3, w4, w5, w6) \
344+
dt_omp_sharedconst(width, height, w1, w2, w3, w4, w5, w6) \
345+
shared(coeffs) \
345346
schedule(simd:static) aligned(src, out, weight : 64)
346347
#endif
347348
for(int row = 6; row < height - 6; row++)

0 commit comments

Comments
 (0)