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 : Add option to set the SYCL architecture for all targets (#10266)
* Add option to set the SYCL architecture for all targets
* Convert GGML_SYCL_HIP_TARGET to the more generic GGML_SYCL_ARCH option
* Document that setting GGML_SYCL_ARCH can improve the performance
| GGML_SYCL | ON (mandatory) | Enable build with SYCL code path.<br>FP32 path - recommended for better perforemance than FP16 on quantized model|
648
651
| GGML_SYCL_TARGET | INTEL *(default)*\| NVIDIA \| AMD | Set the SYCL target device type. |
652
+
| GGML_SYCL_DEVICE_ARCH | Optional (except for AMD) | Set the SYCL device architecture, optional except for AMD. Setting the device architecture can improve the performance. See the table [--offload-arch](https://github.com/intel/llvm/blob/sycl/sycl/doc/design/OffloadDesign.md#--offload-arch) for a list of valid architectures. |
649
653
| GGML_SYCL_F16 | OFF *(default)*\|ON *(optional)*| Enable FP16 build with SYCL code path. |
650
654
| CMAKE_C_COMPILER |`icx`*(Linux)*, `icx/cl`*(Windows)*| Set `icx` compiler for SYCL code path. |
651
655
| CMAKE_CXX_COMPILER |`icpx`*(Linux)*, `icx`*(Windows)*| Set `icpx/icx` compiler for SYCL code path. |
0 commit comments