mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Force stateless compilation when device supports shared system memory
Change-Id: I8e11ef82baf010a9a400bc9d733b8ec37a9fbb21 Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
849ff8c6d1
commit
46b3012eb5
@ -74,7 +74,8 @@ Program::Program(ExecutionEnvironment &executionEnvironment, Context *context, b
|
||||
internalOptions += "-m32 ";
|
||||
}
|
||||
|
||||
if (DebugManager.flags.DisableStatelessToStatefulOptimization.get()) {
|
||||
if (pDevice->areSharedSystemAllocationsAllowed() ||
|
||||
DebugManager.flags.DisableStatelessToStatefulOptimization.get()) {
|
||||
internalOptions += "-cl-intel-greater-than-4GB-buffer-required ";
|
||||
}
|
||||
kernelDebugEnabled = pDevice->isSourceLevelDebuggerActive();
|
||||
|
Reference in New Issue
Block a user