SWDEV-247372 - Add logging for debug

Change-Id: Id5a27034005a7deba37072d8a4c6f250104a96c8
Cette révision appartient à :
Saleel Kudchadker
2021-06-16 22:11:26 -07:00
révisé par Maneesh Gupta
Parent 82e572c23f
révision 8e08880cc3
2 fichiers modifiés avec 2 ajouts et 0 suppressions
+1
Voir le fichier
@@ -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();