Changeset 981
- Timestamp:
- Apr 16, 2015, 5:19:15 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_iob/top.cpp
r980 r981 170 170 ////////////////////////////////////////////////////////////////// 171 171 172 #if US ING_OPENMP172 #if USE_OPENMP 173 173 #include <omp.h> 174 174 #endif … … 348 348 size_t p_width = P_WIDTH; // # of bits for lpid 349 349 350 #if US ING_OPENMP350 #if USE_OPENMP 351 351 size_t simul_period = 1000000; 352 352 #else … … 510 510 std::cout << std::endl; 511 511 512 #if US ING_OPENMP512 #if USE_OPENMP 513 513 omp_set_dynamic(false); 514 514 omp_set_num_threads(threads); … … 1041 1041 if ( USE_MWR_GCD ) coproc_type = MWR_COPROC_GCD; 1042 1042 1043 #if US ING_OPENMP1043 #if USE_OPENMP 1044 1044 #pragma omp parallel 1045 1045 { … … 1051 1051 size_t y = i % YMAX; 1052 1052 1053 #if US ING_OPENMP1053 #if USE_OPENMP 1054 1054 #pragma omp critical 1055 1055 { … … 1137 1137 ); 1138 1138 1139 #if US ING_OPENMP1139 #if USE_OPENMP 1140 1140 } // end critical 1141 1141 #endif 1142 1142 } // end for 1143 #if US ING_OPENMP1143 #if USE_OPENMP 1144 1144 } 1145 1145 #endif
Note: See TracChangeset
for help on using the changeset viewer.