Changeset 981


Ignore:
Timestamp:
Apr 16, 2015, 5:19:15 PM (10 years ago)
Author:
alain
Message:

Replace USING_OPENMP flag by USE_OPENMP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_iob/top.cpp

    r980 r981  
    170170//////////////////////////////////////////////////////////////////
    171171
    172 #if USING_OPENMP
     172#if USE_OPENMP
    173173#include <omp.h>
    174174#endif
     
    348348   size_t   p_width          = P_WIDTH;                 // # of bits for lpid
    349349
    350 #if USING_OPENMP
     350#if USE_OPENMP
    351351   size_t   simul_period     = 1000000;
    352352#else
     
    510510   std::cout << std::endl;
    511511
    512 #if USING_OPENMP
     512#if USE_OPENMP
    513513   omp_set_dynamic(false);
    514514   omp_set_num_threads(threads);
     
    10411041    if ( USE_MWR_GCD ) coproc_type = MWR_COPROC_GCD;
    10421042
    1043 #if USING_OPENMP
     1043#if USE_OPENMP
    10441044#pragma omp parallel
    10451045    {
     
    10511051            size_t y = i % YMAX;
    10521052
    1053 #if USING_OPENMP
     1053#if USE_OPENMP
    10541054#pragma omp critical
    10551055            {
     
    11371137            );
    11381138
    1139 #if USING_OPENMP
     1139#if USE_OPENMP
    11401140            } // end critical
    11411141#endif
    11421142        } // end for
    1143 #if USING_OPENMP
     1143#if USE_OPENMP
    11441144    }
    11451145#endif
Note: See TracChangeset for help on using the changeset viewer.