mirror of
https://github.com/paboyle/Grid.git
synced 2026-11-03 10:43:20 +00:00
Threading and acceleration primitives further changes. accelerator_barrier() needed and used
This commit is contained in:
1 parent
d836ce3b78
commit
7379047482
1 file changed
+1
@@ -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
|
||||
Reference in new issue
Block a user