refactor: correct naming of enum class constants 8/n

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-12-13 16:09:52 +00:00
committed by Compute-Runtime-Automation
parent 269009c299
commit dd1b9d6abc
371 changed files with 3406 additions and 3404 deletions

View File

@@ -38,7 +38,7 @@ ze_result_t LinuxSysmanImp::init() {
}
NEO::OSInterface &osInterface = *pParentSysmanDeviceImp->getRootDeviceEnvironment().osInterface;
if (osInterface.getDriverModel()->getDriverModelType() != NEO::DriverModelType::DRM) {
if (osInterface.getDriverModel()->getDriverModelType() != NEO::DriverModelType::drm) {
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
}

View File

@@ -21,7 +21,7 @@ ze_result_t WddmSysmanImp::init() {
NEO::OSInterface &osInterface = *(pParentSysmanDeviceImp->getRootDeviceEnvironment()).osInterface;
auto driverModel = osInterface.getDriverModel();
if (driverModel && (driverModel->getDriverModelType() == NEO::DriverModelType::WDDM)) {
if (driverModel && (driverModel->getDriverModelType() == NEO::DriverModelType::wddm)) {
pWddm = driverModel->as<NEO::Wddm>();
} else {
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;