From 29c2ca8cbcf8a4566c99b37883253d04a4744033 Mon Sep 17 00:00:00 2001 From: Pengda Xie <33167430+px1624@users.noreply.github.com> Date: Mon, 20 Oct 2025 09:47:17 -0700 Subject: [PATCH] SWDEV-559867 - Fix CU mask printing (#1328) --- projects/clr/rocclr/device/rocm/rocdevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/rocclr/device/rocm/rocdevice.cpp b/projects/clr/rocclr/device/rocm/rocdevice.cpp index 8ffcd81447..e6d23fb7fa 100644 --- a/projects/clr/rocclr/device/rocm/rocdevice.cpp +++ b/projects/clr/rocclr/device/rocm/rocdevice.cpp @@ -3013,7 +3013,7 @@ hsa_queue_t* Device::acquireQueue(uint32_t queue_size_hint, bool coop_queue, for (int i = mask.size() - 1; i >= 0; i--) { - ss << std::setfill('0') << std::setw(4) << mask[i]; + ss << std::setfill('0') << std::setw(8) << mask[i]; } ClPrint(amd::LOG_INFO, amd::LOG_QUEUE, "Setting CU mask 0x%s for hardware queue %p", ss.str().c_str(), queue->base_address);