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] Align assert ext name with libdevice implementation (#13312)
In native assert design
(https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/supported/sycl_ext_oneapi_assert.asciidoc),
fallback implementation is used only when native support is not
available for underlying device(OCL CPU/GPU, level 0 GPU). The fallback
implementation for assert is provided via sycl device libraries and
fallback mechanism requires that any underlying device which provides
native assert should also expose 'cl_intel_devicelib_assert' extension
for sycl runtime to check. Latest OCL cpu runtime has already provided
native assert and expose this ext string, but we find the fallback
implementation is still used instead of native version on OCL CPU
device.
The reason is sycl runtime used a different string for checking:
"pi_ext_intel_devicelib_assert", so this PR fixes it.
---------
Signed-off-by: jinge90 <[email protected]>
0 commit comments