mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	Unroll pragma abstraction
This commit is contained in:
		@@ -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")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user