Commit 3755e41e authored by Paul's avatar Paul
Browse files

Formatting

parent 7af75b2e
...@@ -66,9 +66,9 @@ inline auto binary_broadcast(argument result, argument arg1, argument arg2) ...@@ -66,9 +66,9 @@ inline auto binary_broadcast(argument result, argument arg1, argument arg2)
__syncthreads(); __syncthreads();
for(size_t i = idx.global; i < n; i += nglobal) for(size_t i = idx.global; i < n; i += nglobal)
{ {
auto bidx = i % bdim_len; auto bidx = i % bdim_len;
auto b = buffer[bidx]; auto b = buffer[bidx];
outp[i] = f(xp[i], b); outp[i] = f(xp[i], b);
} }
}); });
}); });
......
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