Commit bd2f3f8a authored by Paul's avatar Paul
Browse files

Formatting

parent e9143cd7
...@@ -287,9 +287,7 @@ auto hip_vec_visit_all(T&& x, Ts&&... xs) ...@@ -287,9 +287,7 @@ auto hip_vec_visit_all(T&& x, Ts&&... xs)
template <class T, class... Ts> template <class T, class... Ts>
auto hip_pointer_visit_all(T&& x, Ts&&... xs) auto hip_pointer_visit_all(T&& x, Ts&&... xs)
{ {
return [&](auto f) { return [&](auto f) { visit_all(x, xs...)([&](auto... vs) { f(device_cast(vs.data())...); }); };
visit_all(x, xs...)([&](auto... vs) { f(device_cast(vs.data())...); });
};
} }
template <std::size_t N, class T> template <std::size_t N, class T>
......
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