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
이 커밋은 다음에 포함됨:
Saleel Kudchadker가 2024-03-12 19:00:03 -04:00를 커밋했습니다
1 부모 f5ca620baa
커밋 f1adecd186
4 파일이 변경됨
+6 -9

검색과 일치하는 파일 없음

+2 -4
파일 보기
@@ -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;
}
}