mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
refactor: correct naming of enum class constants 8/n
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
269009c299
commit
dd1b9d6abc
@@ -72,7 +72,7 @@ bool ExecutionEnvironment::initializeMemoryManager() {
|
||||
case CommandStreamReceiverType::CSR_HW:
|
||||
case CommandStreamReceiverType::CSR_HW_WITH_AUB:
|
||||
default: {
|
||||
auto driverModelType = DriverModelType::UNKNOWN;
|
||||
auto driverModelType = DriverModelType::unknown;
|
||||
if (this->rootDeviceEnvironments[0]->osInterface && this->rootDeviceEnvironments[0]->osInterface->getDriverModel()) {
|
||||
driverModelType = this->rootDeviceEnvironments[0]->osInterface->getDriverModel()->getDriverModelType();
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
namespace NEO {
|
||||
|
||||
void ExecutionEnvironment::adjustRootDeviceEnvironments() {
|
||||
if (!rootDeviceEnvironments.empty() && rootDeviceEnvironments[0]->osInterface->getDriverModel()->getDriverModelType() == DriverModelType::DRM) {
|
||||
if (!rootDeviceEnvironments.empty() && rootDeviceEnvironments[0]->osInterface->getDriverModel()->getDriverModelType() == DriverModelType::drm) {
|
||||
for (auto rootDeviceIndex = 0u; rootDeviceIndex < rootDeviceEnvironments.size(); rootDeviceIndex++) {
|
||||
auto drmMemoryOperationsHandler = static_cast<DrmMemoryOperationsHandler *>(rootDeviceEnvironments[rootDeviceIndex]->memoryOperationsInterface.get());
|
||||
drmMemoryOperationsHandler->setRootDeviceIndex(rootDeviceIndex);
|
||||
|
||||
Reference in New Issue
Block a user