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
According to SYCL spec: backend macro should be specified for all supported
backends (defined in the Khronos group). It also refers to extension macros
(aka feature test macro) for other backends introduced by a vendor. Khronos
group defines only OpenCL backend and other backends supported by DPC++
should be treated as extensions.
The following macros are defined when the compiler is built with the
corresponding backend. OpenCL and Level_Zero backends are always
available, others are enabled on build time:
OpenCL backed: SYCL_BACKEND_OPENCL
Level Zero backend: SYCL_EXT_ONEAPI_BACKEND_LEVEL_ZERO
CUDA backend: SYCL_EXT_ONEAPI_BACKEND_CUDA
ESIMD_CPU backend: SYCL_EXT_INTEL_BACKEND_ESIMD_EMULATOR
HIP backend: SYCL_EXT_ONEAPI_BACKEND_HIP
backend::esimd_cpu is renamed to backend::ext_intel_esimd_emulator. Old
naming was marked as deprecated.
0 commit comments