1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-05 11:45:56 +01:00

Threading and acceleration primitives further changes. accelerator_barrier() needed and used

This commit is contained in:
Peter Boyle 2019-06-15 08:22:48 +01:00
parent d836ce3b78
commit 7379047482

View File

@ -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