mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-28 16:33:19 +00:00
coalesce loop. Need to rationalise this file
This commit is contained in:
1 parent
b47f73c222
commit
8113845f9c
1 file changed
+2
@@ -184,4 +184,6 @@ void LambdaApply2D(uint64_t Osites, uint64_t Isites, lambda Lambda)
|
|||||||
#define cpu_loop( iterator, range, ... ) \
|
#define cpu_loop( iterator, range, ... ) \
|
||||||
thread_loop( (auto iterator = range.begin();iterator<range.end();iterator++), { __VA_ARGS__ });
|
thread_loop( (auto iterator = range.begin();iterator<range.end();iterator++), { __VA_ARGS__ });
|
||||||
|
|
||||||
|
#define coalesce_loop( iterator, range, nsimd, ... ) cpu_loop(iterator,range,{__VA_ARGS__})
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Reference in new issue
Block a user