mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
refactor: add debug message about the zero engine info size
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
06faaab5bb
commit
a70aaa72ed
@@ -976,6 +976,10 @@ bool Drm::queryMemoryInfo() {
|
||||
|
||||
bool Drm::queryEngineInfo(bool isSysmanEnabled) {
|
||||
this->engineInfo = ioctlHelper->createEngineInfo(isSysmanEnabled);
|
||||
if (this->engineInfo && this->engineInfo.get()->engines.size() == 0) {
|
||||
printDebugString(debugManager.flags.PrintDebugMessages.get(), stderr, "%s", "FATAL: Engine info size is equal to 0.\n");
|
||||
}
|
||||
|
||||
return this->engineInfo != nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user