Commit 878e49b8 authored by Paul's avatar Paul
Browse files

Use local_wave for outer

parent c2fa2267
...@@ -520,7 +520,7 @@ struct wave ...@@ -520,7 +520,7 @@ struct wave
template <class F> template <class F>
__device__ void outer(F f) const __device__ void outer(F f) const
{ {
if(idx.local == 0) if(idx.local_wave() == 0)
f(); f();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment