-
Notifications
You must be signed in to change notification settings - Fork 807
Closed
Labels
DocumentationMissing documentation for the code, compiler or runtime features, etc.Missing documentation for the code, compiler or runtime features, etc.
Description
clang++ --help
says very little about -fsycl-targets
:
-fsycl-targets=<value> Specify comma-separated list of triples SYCL offloading targets to be supported
Digging through some code, documentation, and -sycl-help
I found five possible targets:
spir64-unknown-unknown-sycldevice
: OpenCL backend (default target ?)spir64_gen-unknown-unknown-sycldevice
: OpenCL backend, with ahead-of-time compilation for Intel NEO driver and Gen "X" GPUs (viaocloc
)spir64_x86_64-unknown-unknown-sycldevice
: OpenCL backend, with ahead-of-time compilation for Intel CPUs (viaopencl-aot
)spir64_fpga-unknown-unknown-sycldevice
: OpenCL backend, with ahead-of-time compilation for Intel FPGAs (viaaoc
)nvptx64-nvidia-cuda-sycldevice
: CUDA backend
Is there a way to list all supported targets ?
Does it make any difference if one uses e.g. spir64-unknown-unknown-sycldevice
or spir64-unknown-linux-sycldevice
?
ax3l, shssf and ArindamK92
Metadata
Metadata
Assignees
Labels
DocumentationMissing documentation for the code, compiler or runtime features, etc.Missing documentation for the code, compiler or runtime features, etc.