46   std::streamsize width) {
    48   for (
int idx = 0; idx < view.
extent(rank); ++idx) {
    60     out << ScalarIO<Element>(view.
at(coord));
    76   std::streamsize width) {
    79   if (rank + 1 == Layout::kRank) {
    84   for (
int idx = 0; idx < view.
extent(rank); ++idx) {
    89     if (rank + 2 == Layout::kRank) {
    91       out << (idx ? 
";\n" : 
"");
    96       out << (idx ? 
"\n" : 
"");
 Helpers for printing cutlass/core objects. 
Definition: aligned_buffer.h:35
CUTLASS_HOST_DEVICE TensorCoord const & extent() const 
Returns the extent of the view (the size along each logical dimension). 
Definition: tensor_view.h:167
Defines a structure containing strides and a pointer to tensor data. 
std::ostream & TensorViewWrite(std::ostream &out, TensorView< Element, Layout > const &view)
Prints human-readable representation of a TensorView to an ostream. 
Definition: tensor_view_io.h:113
std::ostream & TensorView_WriteLeastSignificantRank(std::ostream &out, TensorView< Element, Layout > const &view, Coord< Layout::kRank > const &start_coord, int rank, std::streamsize width)
Helper to write the least significant rank of a TensorView. 
Definition: tensor_view_io.h:41
CUTLASS_HOST_DEVICE Reference at(TensorCoord const &coord) const 
Returns a reference to the element at a given Coord. 
Definition: tensor_ref.h:307
std::ostream & operator<<(std::ostream &out, complex< T > const &z)
Definition: complex.h:291
std::ostream & TensorView_WriteRank(std::ostream &out, TensorView< Element, Layout > const &view, Coord< Layout::kRank > const &start_coord, int rank, std::streamsize width)
Helper to write a rank of a TensorView. 
Definition: tensor_view_io.h:71