mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
coalesce loop. Need to rationalise this file
This commit is contained in:
parent
b47f73c222
commit
8113845f9c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user