mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
Add debug flag to disable aux translation
Change-Id: I1f3a2941de44e9fe793ef3f1c6425c80293cc63a Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
67a1087ffb
commit
bb6dfd4fe6
@@ -352,6 +352,10 @@ cl_int Kernel::initialize() {
|
||||
}
|
||||
}
|
||||
|
||||
if (DebugManager.flags.DisableAuxTranslation.get()) {
|
||||
auxTranslationRequired = false;
|
||||
}
|
||||
|
||||
if (usingImages && !usingBuffers) {
|
||||
usingImagesOnly = true;
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@ DECLARE_DEBUG_VARIABLE(bool, RebuildPrecompiledKernels, false, "forces driver to
|
||||
DECLARE_DEBUG_VARIABLE(bool, LoopAtPlatformInitialize, false, "Adds endless loop in platform initalize, useful for debugging.")
|
||||
DECLARE_DEBUG_VARIABLE(bool, DoNotRegisterTrimCallback, false, "When set to true driver is not registering trim callback.")
|
||||
DECLARE_DEBUG_VARIABLE(bool, OverrideInvalidEngineWithDefault, false, "When set to true driver chooses engine 0 if no engine is found.")
|
||||
DECLARE_DEBUG_VARIABLE(bool, DisableAuxTranslation, false, "Disable aux translation when required by Kernel.")
|
||||
|
||||
/*LOGGING FLAGS*/
|
||||
DECLARE_DEBUG_VARIABLE(bool, PrintDebugSettings, false, "Enables dumping debug variables settings to text file")
|
||||
|
||||
Reference in New Issue
Block a user