1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Unroll pragma abstraction

This commit is contained in:
Peter Boyle 2015-05-21 06:34:33 +01:00
parent 221902a882
commit 34960ca50c

View File

@ -5,6 +5,8 @@
#define GRID_OMP #define GRID_OMP
#endif #endif
#define UNROLL _Pragma("unroll")
#ifdef GRID_OMP #ifdef GRID_OMP
#include <omp.h> #include <omp.h>
#define PARALLEL_FOR_LOOP _Pragma("omp parallel for") #define PARALLEL_FOR_LOOP _Pragma("omp parallel for")