Commit 60c6738a authored by Paul's avatar Paul
Browse files

Formatting

parent a7b934bf
...@@ -117,11 +117,14 @@ auto nary_standard(argument result, Arguments... args) ...@@ -117,11 +117,14 @@ auto nary_standard(argument result, Arguments... args)
auto* outp = as_vec4(output.data()); auto* outp = as_vec4(output.data());
gs_launch(output_shape.elements() / vec_size)([=](auto i) { gs_launch(output_shape.elements() / vec_size)([=](auto i) {
vec4<type> out = outp[i]; vec4<type> out = outp[i];
data([&](auto... xs) { data(
for(std::size_t j = 0; j < vec_size; j++) { [&](auto... xs) {
for(std::size_t j = 0; j < vec_size; j++)
{
out[j] = f(xs[j]...); out[j] = f(xs[j]...);
} }
}, i); },
i);
outp[i] = out; outp[i] = out;
}); });
#endif #endif
......
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