refactor: dont mix aub and hw wait prints

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2024-09-25 18:04:23 +00:00
committed by Compute-Runtime-Automation
parent 9a326287c7
commit 5b1bd4b088
2 changed files with 35 additions and 0 deletions

View File

@@ -1090,6 +1090,14 @@ bool CommandStreamReceiver::createPerDssBackedBuffer(Device &device) {
}
void CommandStreamReceiver::printTagAddressContent(TaskCountType taskCountToWait, int64_t waitTimeout, bool start) {
if (getType() == NEO::CommandStreamReceiverType::aub) {
if (start) {
PRINT_DEBUG_STRING(true, stdout, "\nAub dump wait for task count %llu", taskCountToWait);
} else {
PRINT_DEBUG_STRING(true, stdout, "\nAub dump wait completed.");
}
return;
}
auto postSyncAddress = getTagAddress();
if (start) {
PRINT_DEBUG_STRING(true, stdout,
@@ -1099,6 +1107,7 @@ void CommandStreamReceiver::printTagAddressContent(TaskCountType taskCountToWait
PRINT_DEBUG_STRING(true, stdout,
"%s", "\nWaiting completed. Current value:");
}
for (uint32_t i = 0; i < activePartitions; i++) {
PRINT_DEBUG_STRING(true, stdout, " %u", *postSyncAddress);
postSyncAddress = ptrOffset(postSyncAddress, this->immWritePostSyncWriteOffset);