From 737904748275ce6877660ea32ddf3d3e7834eaec Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Sat, 15 Jun 2019 08:22:48 +0100 Subject: [PATCH] Threading and acceleration primitives further changes. accelerator_barrier() needed and used --- Grid/threads/Pragmas.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Grid/threads/Pragmas.h b/Grid/threads/Pragmas.h index b36e8159..7ab3142b 100644 --- a/Grid/threads/Pragmas.h +++ b/Grid/threads/Pragmas.h @@ -127,5 +127,6 @@ void LambdaApplySIMT(uint64_t Isites, uint64_t Osites, lambda Lambda) #define accelerator_inline strong_inline #define accelerator_for(iterator,num,nsimd, ... ) thread_for(iterator, num, { __VA_ARGS__ }); #define accelerator_forNB(iterator,num,nsimd, ... ) thread_for(iterator, num, { __VA_ARGS__ }); +#define accelerator_barrier(dummy) #endif