1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 17:25:37 +01:00

Unroll pragma abstraction

This commit is contained in:
Peter Boyle 2015-05-21 06:34:33 +01:00
parent 8fdff33b3a
commit 9058135da0

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")