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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
مرجع در شماره جدید
Block a user