You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL] Don't emit exception handling code for device
In order to support exception handling, the compiler
generates additional code inside functions to perform
cleanup, catch unexpected exceptions. This is done
by calling a function that may throw using "invoke"
LLVM instruction with additional landing pad code
instead of simple "call".
Previously, when such code is generated, llvm-spirv
would fail to translate it as it doesn't know how to
handle "invoke" instruction.
There is no support for exceptions on device side,
so generation of such exception handling code
(including "invoke" instruction) can be simply disabled.
Signed-off-by: Ilya Stepykin <ilya.stepykin@intel.com>
0 commit comments