From 34960ca50c70f96fdf162151ce1b357d79cecd27 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 21 May 2015 06:34:33 +0100 Subject: [PATCH] Unroll pragma abstraction --- lib/Grid_threads.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Grid_threads.h b/lib/Grid_threads.h index 89a56d80..24581855 100644 --- a/lib/Grid_threads.h +++ b/lib/Grid_threads.h @@ -5,6 +5,8 @@ #define GRID_OMP #endif +#define UNROLL _Pragma("unroll") + #ifdef GRID_OMP #include #define PARALLEL_FOR_LOOP _Pragma("omp parallel for")