/[escript]/branches/intelc_win32/finley/src/Util.c
ViewVC logotype

Diff of /branches/intelc_win32/finley/src/Util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 753 by woo409, Mon Jun 26 02:51:25 2006 UTC revision 754 by woo409, Mon Jun 26 08:00:38 2006 UTC
# Line 23  Line 23 
23    
24  #include "Finley.h"  #include "Finley.h"
25  #include "Util.h"  #include "Util.h"
 #ifdef USE_QSORTG  
 #include "qsortG.h"  
 #endif  
26    
27  #ifdef _OPENMP  #ifdef _OPENMP
28  #include <omp.h>  #include <omp.h>
# Line 361  int Finley_Util_ValueAndIndex_compar(con Line 358  int Finley_Util_ValueAndIndex_compar(con
358    
359  void Finley_Util_sortValueAndIndex(dim_t n,Finley_Util_ValueAndIndex* array) {  void Finley_Util_sortValueAndIndex(dim_t n,Finley_Util_ValueAndIndex* array) {
360       /* OMP : needs parallelization !*/       /* OMP : needs parallelization !*/
 #ifdef USE_QSORTG  
      qsortG(array,n,sizeof(Finley_Util_ValueAndIndex),Finley_Util_ValueAndIndex_compar);  
 #else  
361       qsort(array,n,sizeof(Finley_Util_ValueAndIndex),Finley_Util_ValueAndIndex_compar);       qsort(array,n,sizeof(Finley_Util_ValueAndIndex),Finley_Util_ValueAndIndex_compar);
 #endif  
362  }  }
363    
364    

Legend:
Removed from v.753  
changed lines
  Added in v.754

  ViewVC Help
Powered by ViewVC 1.1.26