Halide 19.0.0
Halide compiler and libraries
|
Allow easily printing the contents of containers, or std::vector-like containers, in debug output. More...
#include <Debug.h>
Public Member Functions | |
PrintSpan (const T &span) | |
Public Attributes | |
const T & | span |
Allow easily printing the contents of containers, or std::vector-like containers, in debug output.
Used like so: std::vector<Type> arg_types; debug(4) << "arg_types: " << PrintSpan(arg_types) << "\n"; Which results in output like "arg_types: { uint8x8, uint8x8 }" on one line.
|
inline |
const T& Halide::Internal::PrintSpan< T >::span |
Definition at line 75 of file Debug.h.
Referenced by Halide::Internal::operator<<().