SWDEV-247372 - Add logging for debug

Change-Id: Id5a27034005a7deba37072d8a4c6f250104a96c8


[ROCm/clr commit: 8e08880cc3]
Tá an tiomantas seo le fáil i:
Saleel Kudchadker údaraithe agus Maneesh Gupta tiomanta 2021-08-22 23:56:07 -07:00
1 tuismitheoir 83dccf9010
tiomantas 14a113f69d
2 comhad athraithe
+2

Níor tháinig aon chomhaid le do chuardach

+1
Féach ar an gComhad
@@ -2524,6 +2524,7 @@ bool Device::IsHwEventReady(const amd::Event& event, bool wait) const {
void* hw_event = (event.NotifyEvent() != nullptr) ?
event.NotifyEvent()->HwEvent() : event.HwEvent();
if (hw_event == nullptr) {
ClPrint(amd::LOG_INFO, amd::LOG_SIG, "No HW event");
return false;
} else if (wait) {
WaitForSignal(reinterpret_cast<ProfilingSignal*>(hw_event)->signal_);