mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
fix: add hasEngines() to check for engines detection
Related-To: NEO-9754 Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0977d9e09d
commit
dafaaf5f7d
@@ -992,7 +992,7 @@ bool Drm::queryMemoryInfo() {
|
||||
|
||||
bool Drm::queryEngineInfo(bool isSysmanEnabled) {
|
||||
this->engineInfo = ioctlHelper->createEngineInfo(isSysmanEnabled);
|
||||
if (this->engineInfo && this->engineInfo.get()->engines.size() == 0) {
|
||||
if (this->engineInfo && (this->engineInfo->hasEngines() == false)) {
|
||||
printDebugString(debugManager.flags.PrintDebugMessages.get(), stderr, "%s", "FATAL: Engine info size is equal to 0.\n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user