mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
refactor: correct naming of enum class constants 4/n
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
01dd503e47
commit
432142c574
@@ -24,8 +24,8 @@ bool DebuggerL0::initDebuggingInOs(NEO::OSInterface *osInterface) {
|
||||
|
||||
const bool vmBindAvailable = drm->isVmBindAvailable();
|
||||
const bool perContextVms = drm->isPerContextVMRequired();
|
||||
const bool allowDebug = (drm->getRootDeviceEnvironment().executionEnvironment.getDebuggingMode() == DebuggingMode::Offline) ||
|
||||
(perContextVms && drm->getRootDeviceEnvironment().executionEnvironment.getDebuggingMode() == DebuggingMode::Online);
|
||||
const bool allowDebug = (drm->getRootDeviceEnvironment().executionEnvironment.getDebuggingMode() == DebuggingMode::offline) ||
|
||||
(perContextVms && drm->getRootDeviceEnvironment().executionEnvironment.getDebuggingMode() == DebuggingMode::online);
|
||||
|
||||
if (vmBindAvailable && allowDebug) {
|
||||
drm->registerResourceClasses();
|
||||
@@ -39,7 +39,7 @@ bool DebuggerL0::initDebuggingInOs(NEO::OSInterface *osInterface) {
|
||||
}
|
||||
|
||||
void DebuggerL0::initSbaTrackingMode() {
|
||||
if (device->getExecutionEnvironment()->getDebuggingMode() == DebuggingMode::Offline) {
|
||||
if (device->getExecutionEnvironment()->getDebuggingMode() == DebuggingMode::offline) {
|
||||
singleAddressSpaceSbaTracking = true;
|
||||
} else {
|
||||
singleAddressSpaceSbaTracking = false;
|
||||
|
||||
Reference in New Issue
Block a user