summaryrefslogtreecommitdiffstats
path: root/graphics/ufraw/patches/0003-ufraw-0.22-fix_omp_definitions.patch
blob: 8b26ee3a3dfded05ab3dfbbad01aeca67f431669 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- a/dcraw_api.cc	2015-06-16 04:58:38.000000000 +0100
+++ b/dcraw_api.cc	2019-06-30 16:37:05.503409567 +0100
@@ -689,3 +689,3 @@
             #pragma omp parallel for schedule(static) default(none) \
-            shared(h,dark,rgbWB)
+            firstprivate(black,pixels) shared(h,dark,rgbWB)
 #endif
@@ -702,3 +702,3 @@
             #pragma omp parallel for schedule(static) default(none) \
-            shared(h,dark,rgbWB)
+            firstprivate(black,pixels) shared(h,dark,rgbWB)
 #endif
--- a/dcraw_indi.c	2015-06-16 04:58:38.000000000 +0100
+++ b/dcraw_indi.c	2019-06-30 17:03:59.692710441 +0100
@@ -140,2 +140,3 @@
     default(none)					\
+    firstprivate(iheight,iwidth,noise,threshold)	\
     shared(nc,image,size,noise)				\
@@ -145,2 +146,3 @@
     default(none)					\
+    firstprivate(iheight,iwidth,noise,threshold)	\
     shared(nc,image,size)				\
@@ -416,2 +418,3 @@
     default(none)					\
+    firstprivate(colors,filters,height,width)			\
     shared(image,code,prow,pcol,h)			\
@@ -502,3 +502,4 @@
     default(none)					\
-    shared(image,dir,diff)				\
+    firstprivate(filters,height,width)	\
+    shared(image,dir,diff)				\
     private(row,col,i,d,c,pix,guess)