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 unconditionaly because backend support
is always available on DPC++ compile stage:
- 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_CPU
- HIP backend: SYCL_EXT_ONEAPI_BACKEND_HIP
Extra libs may be required to link DPC++ application and run it.
0 commit comments