"ts/vscode:/vscode.git/clone" did not exist on "b11a4c35ef0cc5b3cd6f7f2c07572107fa94f1cd"
Commit 8c18825b authored by Paul's avatar Paul
Browse files

Format

parent 2b9f612f
...@@ -460,7 +460,7 @@ struct lane ...@@ -460,7 +460,7 @@ struct lane
} }
}; };
template<class Size, class F> template <class Size, class F>
constexpr inner_storage<Size, F> make_inner_storage(Size, F f) constexpr inner_storage<Size, F> make_inner_storage(Size, F f)
{ {
return {f}; return {f};
...@@ -496,9 +496,7 @@ struct lane ...@@ -496,9 +496,7 @@ struct lane
template <class R, class F, class N, class... Ts> template <class R, class F, class N, class... Ts>
__device__ auto inner_impl(F f, N n, Ts&&... xs) const __device__ auto inner_impl(F f, N n, Ts&&... xs) const
{ {
return make_inner_storage(n, [=](auto j, auto d) { return make_inner_storage(n, [=](auto j, auto d) { return f(xs(j, d)...); });
return f(xs(j, d)...);
});
} }
}; };
template <class Slicer> template <class Slicer>
......
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