Update of /cvsroot/ufraw/ufraw
In directory vz-cvs-2.sog:/tmp/cvs-serv3266

Modified Files:
        dcraw_indi.c 
Log Message:
Really fix OpenMP build problem with Sun Studio (bug #3205673).

Index: dcraw_indi.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/dcraw_indi.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- dcraw_indi.c        13 Apr 2011 11:30:43 -0000      1.88
+++ dcraw_indi.c        13 Apr 2011 11:45:22 -0000      1.89
@@ -133,13 +133,16 @@
     if ((nc = colors) == 3 && filters) nc++;
     progress(PROGRESS_WAVELET_DENOISE, -nc * 5);
 #ifdef _OPENMP
+#ifdef __sun                   /* Fix bug #3205673 - NKBJ */
 #pragma omp parallel for                               \
   default(none)                                                \
-  shared(nc,image,size)                                        \
+  shared(nc,image,size,noise)                          \
   private(c,i,hpass,lev,lpass,row,col,thold,fimg,temp)
-#ifdef __sun                   /* Fix bug #3205673 - NKBJ */
+#else
 #pragma omp parallel for                               \
-  shared(noise)
+  default(none)                                                \
+  shared(nc,image,size)                                        \
+  private(c,i,hpass,lev,lpass,row,col,thold,fimg,temp)
 #endif
 #endif
     FORC(nc) {                 /* denoise R,G1,B,G3 individually */


------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
ufraw-cvs mailing list
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to