mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 15:55:37 +00:00
Unroll pragma abstraction
This commit is contained in:
parent
8fdff33b3a
commit
9058135da0
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user