SWDEV-301667 - Use right macros and level for logging

- Sometimes we want to mask out kernel names, use right level for kernel
logging

Change-Id: Ideae9647c57b86ae390ff2f4131f6d8c6df5c086
This commit is contained in:
Saleel Kudchadker
2024-03-05 20:44:27 +00:00
والد f5ca620baa
کامیت f1adecd186
4فایلهای تغییر یافته به همراه6 افزوده شده و 9 حذف شده
@@ -3056,14 +3056,12 @@ bool VirtualGPU::submitKernelInternal(const amd::NDRangeContainer& sizes,
uintptr_t buffer = reinterpret_cast<uintptr_t>(
roc_device_.getOrCreateHostcallBuffer(gpu_queue_, coopGroups, cuMask_));
if (!buffer) {
ClPrint(amd::LOG_ERROR, amd::LOG_KERN,
"Kernel expects a hostcall buffer, but none found");
LogError("Kernel expects a hostcall buffer, but none found");
return false;
}
WriteAqlArgAt(hidden_arguments, buffer, it.size_, it.offset_);
} else {
ClPrint(amd::LOG_ERROR, amd::LOG_KERN,
"Pcie atomics not enabled, hostcall not supported");
LogError("Pcie atomics not enabled, hostcall not supported");
return false;
}
}