- Timestamp:
- 11/16/17 16:20:41 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/transformation/Functions/reduction.hpp
r1328 r1331 25 25 //static std::map<StdString,EReductionType> ReductionOperations; 26 26 static std::map<StdString,EReductionType> *ReductionOperations_ptr; 27 27 #pragma omp threadprivate(ReductionOperations_ptr) 28 28 public: 29 29 CReductionAlgorithm() {} … … 62 62 typedef std::map<EReductionType, CreateOperationCallBack> CallBackMap; 63 63 static CallBackMap* reductionCreationCallBacks_; 64 #pragma omp threadprivate(reductionCreationCallBacks_) 64 65 65 66 static bool registerOperation(EReductionType reduceType, CreateOperationCallBack createFn); … … 70 71 static bool initReductionOperation(); 71 72 static bool _dummyInit; 73 #pragma omp threadprivate(_dummyInit) 72 74 }; 73 75
Note: See TracChangeset
for help on using the changeset viewer.