Skip to content

Commit

Permalink
adjust switches to control cilk vs. openmp support
Browse files Browse the repository at this point in the history
  • Loading branch information
John Mellor-Crummey committed Jan 11, 2018
1 parent bac1d36 commit e6245ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions parseAPI/src/Parser.C
Expand Up @@ -55,13 +55,15 @@
#include <boost/timer/timer.hpp>
#include <fstream>

#define USE_CILK 0
#ifdef ENABLE_RACE_DETECTION
#define USE_CILK 1
#else
#define USE_OPENMP 1
#endif

#if USE_CILK
#include <cilk/cilk.h>
#include <cilk/cilk_api.h>
#include <cilk/reducer_list.h>
#endif

#include "race-detector-annotations.h"
Expand Down

0 comments on commit e6245ff

Please sign in to comment.