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
Use sycl::ext::oneapi::experimental for complex tyes
This works around use of double precision functions/literals in implementations
of these functions in MSVC headers, causing failures to offload on Iris Xe for
single precision input citing lack of fp64 support by the hardware.
Changes include CL/sycl.hpp to sycl/sycl.hpp per SYCL-2020 spec
For every CMake target, where add_sycl_to_target is used, we also run
target_compile_options(
${target_name}
PRIVATE
-fysl-targets=spir64-unknown-unknown,nvptx64-nvidia-cuda
)
Add DPCTL_TARGET_CUDA Boolean cmake option
Also DPCTL_SYCL_TARGETS parameter can be used to specify targets
to build for.
DPCTL_TARGET_CUDA could be set via cmake option, or via environment
variable, e.g.
```
$ DPCTL_TARGET_CUDA=1 python scripts/build_locally.py --verbose
```
This calls `target_compile_options` to set sycl-targets for targets
needing SYCL
0 commit comments