SWDEV-301667 - Better log

- Print SWq for AQL packets, this helps correlating a stream to the HWq
mapped

Change-Id: I610430c0872a1abc6636027c00163ec46983cd65


[ROCm/clr commit: 984c86f407]
This commit is contained in:
Saleel Kudchadker
2024-02-29 23:37:12 +00:00
parent 286599824e
commit 4ff5ec0a02
2 changed files with 9 additions and 8 deletions
@@ -3002,8 +3002,9 @@ hsa_queue_t* Device::acquireQueue(uint32_t queue_size_hint, bool coop_queue,
}
}
ClPrint(amd::LOG_INFO, amd::LOG_QUEUE, "Created hardware queue %p with size %d with priority %d,"
" cooperative: %i", queue->base_address, queue_size, queue_priority, coop_queue);
ClPrint(amd::LOG_INFO, amd::LOG_QUEUE, "Created SWq=%p to map on HWq=%p with "
"size %d with priority %d, cooperative: %i",
queue, queue->base_address, queue_size, queue_priority, coop_queue);
hsa_amd_profiling_set_profiler_enabled(queue, 1);
if (cuMask.size() != 0 || info_.globalCUMask_.size() != 0) {