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:
Compute-Runtime-Validation
2023-11-08 01:04:40 +01:00
committed by Compute-Runtime-Automation
parent f36e86f121
commit cdf2cd5699
3 changed files with 2 additions and 35 deletions

View File

@@ -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);
}