43 std::ostream& operator<<(std::ostream& out, Coord<Rank>
const& coord) {
44 for (
int i = 0; i < Rank; ++i) {
45 out << (i ?
", " :
"") << coord[i];
62 return out << float(x);
85 inline std::ostream &operator<<(std::ostream &out, ScalarIO<T>
const &scalar) {
86 return out << scalar.value;
91 inline std::ostream &operator<<(std::ostream &out, ScalarIO<int8_t>
const &scalar) {
92 return out << int(scalar.value);
97 inline std::ostream &operator<<(std::ostream &out, ScalarIO<uint8_t>
const &scalar) {
98 return out << unsigned(scalar.value);
Definition: aligned_buffer.h:35
A Coord is a coordinate of arbitrary rank into a tensor or matrix.
IEEE half-precision floating-point type.
Definition: half.h:126
std::istream & operator>>(std::istream &stream, half_t &x)
Definition: core_io.h:53
ScalarIO(T value)
Constructs from a value.
Definition: core_io.h:78
ScalarIO()
Default ctor.
Definition: core_io.h:75
Helper to enable formatted printing of CUTLASS scalar types to an ostream.
Definition: core_io.h:69
Top-level include for all CUTLASS numeric types.
T value
Value to print.
Definition: core_io.h:72
std::ostream & operator<<(std::ostream &out, complex< T > const &z)
Definition: complex.h:291