SWDEV-247372 - Add logging for debug

Change-Id: Id5a27034005a7deba37072d8a4c6f250104a96c8


[ROCm/clr commit: 8e08880cc3]
This commit is contained in:
Saleel Kudchadker authored and Maneesh Gupta committed 2021-08-22 23:56:07 -07:00
1 parent 83dccf9010
commit 14a113f69d
2 files changed
+2

No files matched your search

@@ -120,6 +120,7 @@ void HostQueue::finish() {
// Check HW status of the ROCcrl event. Note: not all ROCclr modes support HW status
static constexpr bool kWaitCompletion = true;
if (!device().IsHwEventReady(command->event(), kWaitCompletion)) {
ClPrint(LOG_DEBUG, LOG_CMD, "HW Event not ready, awaiting completion instead");
command->awaitCompletion();
}
command->release();