Skip to content

Commit

Permalink
add with_Simd macro
Browse files Browse the repository at this point in the history
  • Loading branch information
fvella committed Mar 19, 2020
1 parent 3b4af4a commit d7650d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ AM_INIT_AUTOMAKE([subdir-objects])

AC_PROG_CXX
AC_PROG_CC
AC_OPENMP
WITH_MPICC
WITH_MPICXX
WITH_LIBLSB
Expand Down
6 changes: 5 additions & 1 deletion devel/src/lcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <unistd.h>
#define GRAPH_GENERATOR_MPI
#include "../../generator/make_graph.h"
#include <omp.h>

#include "config.h"

#define RUNS 10
Expand All @@ -31,6 +31,10 @@
#include "clampi.h"
#endif

#ifdef WITH_SIMD
#include <omp.h>
#endif

#define VTAG(t) (0 * ntask + (t))
#define HTAG(t) (100 * ntask + (t))
#define PTAG(t) (200 * ntask + (t))
Expand Down

0 comments on commit d7650d2

Please sign in to comment.