mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Revert "feature: enable illegal opcode exception"
This reverts commit 02b6b3bbaa.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f36e86f121
commit
cdf2cd5699
@@ -93,12 +93,7 @@ void EncodeDispatchKernel<Family>::encode(CommandContainer &container, EncodeDis
|
||||
}
|
||||
idd.setKernelStartPointer(offset);
|
||||
}
|
||||
|
||||
bool debugEnabled = args.device->getL0Debugger() != nullptr;
|
||||
if (debugEnabled) {
|
||||
idd.setIllegalOpcodeExceptionEnable(1);
|
||||
}
|
||||
if (args.dispatchInterface->getKernelDescriptor().kernelAttributes.flags.usesAssert && debugEnabled) {
|
||||
if (args.dispatchInterface->getKernelDescriptor().kernelAttributes.flags.usesAssert && args.device->getL0Debugger() != nullptr) {
|
||||
idd.setSoftwareExceptionEnable(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user