MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / all_of

Function all_of

include/cute/algorithm/tuple_algorithms.hpp:318–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316
317template <class T, class F>
318CUTE_HOST_DEVICE constexpr
319auto
320all_of(T const& t, F&& f)
321{
322 if constexpr (is_tuple<T>::value) {
323 return detail::tapply(t, f, [] (auto... a) { return (true_type{} && ... && a); }, tuple_seq<T>{});
324 } else {
325 return f(t);
326 }
327
328 CUTE_GCC_UNREACHABLE;
329}
330
331template <class T, class F>
332CUTE_HOST_DEVICE constexpr

Callers 2

_is_vectorizableMethod · 0.85
check_alignmentFunction · 0.85

Calls 2

tapplyFunction · 0.70
fFunction · 0.50

Tested by

no test coverage detected