diff --git a/tests/tt_metal/tt_metal/unit_tests_common/dprint/test_print_all_harts.cpp b/tests/tt_metal/tt_metal/unit_tests_common/dprint/test_print_all_harts.cpp index 9e241ce7ce4..fcf83328252 100644 --- a/tests/tt_metal/tt_metal/unit_tests_common/dprint/test_print_all_harts.cpp +++ b/tests/tt_metal/tt_metal/unit_tests_common/dprint/test_print_all_harts.cpp @@ -29,21 +29,15 @@ SETPRECISION/FIXED/DEFAULTFLOAT: HEX/OCT/DEC: 1e240361100123456 SLICE: -TILE: ( - 0.122558594 0.127929688 0.490234375 0.51171875 - 0.245117188 0.255859375 0.98046875 1.0234375 - 1.9609375 2.046875 7.84375 8.1875 - 3.921875 4.09375 15.6875 16.375 - - ptr=122880) -TILE: ( - 0.122558594 0.124511719 0.127929688 0.131835938 0.490234375 0.498046875 0.51171875 0.52734375 - 0.182617188 0.186523438 0.190429688 0.194335938 0.73046875 0.74609375 0.76171875 0.77734375 - 0.245117188 0.249023438 0.255859375 0.263671875 0.98046875 0.99609375 1.0234375 1.0546875 - 0.365234375 0.373046875 0.380859375 0.388671875 1.4609375 1.4921875 1.5234375 1.5546875 - - - ptr=122880) +0.122558594 0.127929688 0.490234375 0.51171875 +0.245117188 0.255859375 0.98046875 1.0234375 +1.9609375 2.046875 7.84375 8.1875 +3.921875 4.09375 15.6875 16.375 +0.122558594 0.124511719 0.127929688 0.131835938 0.490234375 0.498046875 0.51171875 0.52734375 +0.182617188 0.186523438 0.190429688 0.194335938 0.73046875 0.74609375 0.76171875 0.77734375 +0.245117188 0.249023438 0.255859375 0.263671875 0.98046875 0.99609375 1.0234375 1.0546875 +0.365234375 0.373046875 0.380859375 0.388671875 1.4609375 1.4921875 1.5234375 1.5546875 + Test Debug Print: Unpack Basic Types: 101-1.61800337@0.122558594 @@ -57,21 +51,15 @@ SETPRECISION/FIXED/DEFAULTFLOAT: HEX/OCT/DEC: 1e240361100123456 SLICE: -TILE: ( - 0.122558594 0.127929688 0.490234375 0.51171875 - 0.245117188 0.255859375 0.98046875 1.0234375 - 1.9609375 2.046875 7.84375 8.1875 - 3.921875 4.09375 15.6875 16.375 - - ptr=122880) -TILE: ( - 0.122558594 0.124511719 0.127929688 0.131835938 0.490234375 0.498046875 0.51171875 0.52734375 - 0.182617188 0.186523438 0.190429688 0.194335938 0.73046875 0.74609375 0.76171875 0.77734375 - 0.245117188 0.249023438 0.255859375 0.263671875 0.98046875 0.99609375 1.0234375 1.0546875 - 0.365234375 0.373046875 0.380859375 0.388671875 1.4609375 1.4921875 1.5234375 1.5546875 - - - ptr=122880) +0.122558594 0.127929688 0.490234375 0.51171875 +0.245117188 0.255859375 0.98046875 1.0234375 +1.9609375 2.046875 7.84375 8.1875 +3.921875 4.09375 15.6875 16.375 +0.122558594 0.124511719 0.127929688 0.131835938 0.490234375 0.498046875 0.51171875 0.52734375 +0.182617188 0.186523438 0.190429688 0.194335938 0.73046875 0.74609375 0.76171875 0.77734375 +0.245117188 0.249023438 0.255859375 0.263671875 0.98046875 0.99609375 1.0234375 1.0546875 +0.365234375 0.373046875 0.380859375 0.388671875 1.4609375 1.4921875 1.5234375 1.5546875 + Test Debug Print: Math Basic Types: 101-1.61800337@0.122558594 @@ -100,21 +88,15 @@ SETPRECISION/FIXED/DEFAULTFLOAT: HEX/OCT/DEC: 1e240361100123456 SLICE: -TILE: ( - 0.122558594 0.127929688 0.490234375 0.51171875 - 0.245117188 0.255859375 0.98046875 1.0234375 - 1.9609375 2.046875 7.84375 8.1875 - 3.921875 4.09375 15.6875 16.375 - - ptr=122880) -TILE: ( - 0.122558594 0.124511719 0.127929688 0.131835938 0.490234375 0.498046875 0.51171875 0.52734375 - 0.182617188 0.186523438 0.190429688 0.194335938 0.73046875 0.74609375 0.76171875 0.77734375 - 0.245117188 0.249023438 0.255859375 0.263671875 0.98046875 0.99609375 1.0234375 1.0546875 - 0.365234375 0.373046875 0.380859375 0.388671875 1.4609375 1.4921875 1.5234375 1.5546875 - - - ptr=122880) +0.122558594 0.127929688 0.490234375 0.51171875 +0.245117188 0.255859375 0.98046875 1.0234375 +1.9609375 2.046875 7.84375 8.1875 +3.921875 4.09375 15.6875 16.375 +0.122558594 0.124511719 0.127929688 0.131835938 0.490234375 0.498046875 0.51171875 0.52734375 +0.182617188 0.186523438 0.190429688 0.194335938 0.73046875 0.74609375 0.76171875 0.77734375 +0.245117188 0.249023438 0.255859375 0.263671875 0.98046875 0.99609375 1.0234375 1.0546875 +0.365234375 0.373046875 0.380859375 0.388671875 1.4609375 1.4921875 1.5234375 1.5546875 + Test Debug Print: Data1 Basic Types: 101-1.61800337@0.122558594 @@ -128,21 +110,15 @@ SETPRECISION/FIXED/DEFAULTFLOAT: HEX/OCT/DEC: 1e240361100123456 SLICE: -TILE: ( - 0.122558594 0.127929688 0.490234375 0.51171875 - 0.245117188 0.255859375 0.98046875 1.0234375 - 1.9609375 2.046875 7.84375 8.1875 - 3.921875 4.09375 15.6875 16.375 - - ptr=122880) -TILE: ( - 0.122558594 0.124511719 0.127929688 0.131835938 0.490234375 0.498046875 0.51171875 0.52734375 - 0.182617188 0.186523438 0.190429688 0.194335938 0.73046875 0.74609375 0.76171875 0.77734375 - 0.245117188 0.249023438 0.255859375 0.263671875 0.98046875 0.99609375 1.0234375 1.0546875 - 0.365234375 0.373046875 0.380859375 0.388671875 1.4609375 1.4921875 1.5234375 1.5546875 - - - ptr=122880))"; +0.122558594 0.127929688 0.490234375 0.51171875 +0.245117188 0.255859375 0.98046875 1.0234375 +1.9609375 2.046875 7.84375 8.1875 +3.921875 4.09375 15.6875 16.375 +0.122558594 0.124511719 0.127929688 0.131835938 0.490234375 0.498046875 0.51171875 0.52734375 +0.182617188 0.186523438 0.190429688 0.194335938 0.73046875 0.74609375 0.76171875 0.77734375 +0.245117188 0.249023438 0.255859375 0.263671875 0.98046875 0.99609375 1.0234375 1.0546875 +0.365234375 0.373046875 0.380859375 0.388671875 1.4609375 1.4921875 1.5234375 1.5546875 +)"; static void RunTest(DPrintFixture* fixture, Device* device) { // Set up program and command queue diff --git a/tt_metal/impl/debug/dprint_server.cpp b/tt_metal/impl/debug/dprint_server.cpp index dea10884e93..ddf38ad569c 100644 --- a/tt_metal/impl/debug/dprint_server.cpp +++ b/tt_metal/impl/debug/dprint_server.cpp @@ -156,7 +156,6 @@ static void PrintTileSlice(ostream& stream, uint8_t* ptr, int hart_id) { } TileSliceHostDev<0>* ts = reinterpret_cast*>(ptr); - stream << "TILE: (" << endl << std::flush; if (ts->w0_ == 0xFFFF) { stream << "BAD TILE POINTER" << std::flush; stream << " count=" << ts->count_ << std::flush; @@ -164,8 +163,6 @@ static void PrintTileSlice(ostream& stream, uint8_t* ptr, int hart_id) { uint32_t i = 0; bool count_exceeded = false; for (int h = ts->h0_; h < ts->h1_; h += ts->hs_) { - if (ts->w0_ < ts->w1_) - stream << " "; for (int w = ts->w0_; w < ts->w1_; w += ts->ws_) { // If the number of data specified by the SliceRange exceeds the number that was // saved in the print buffer (set by the MAX_COUNT template parameter in the @@ -192,7 +189,6 @@ static void PrintTileSlice(ostream& stream, uint8_t* ptr, int hart_id) { stream << endl; } } - stream << endl << " ptr=" << ts->ptr_ << ")" << endl; } // PrintTileSlice // Writes a magic value at wpos ptr address for dprint buffer for a specific hart/core/chip