hybrid-llama/turboquant/examples/sycl
Marvin 1dd0700988 hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork
Base: AtomicBot-ai/atomic-llama-cpp-turboquant @ cd5609390. IQK source: ikawrakow/ik_llama.cpp @ fe215a8c (ggml/src/iqk only).

- GGML_IQK_MUL_MAT / GGML_IQK_FLASH_ATTENTION options (default OFF)

- 57 IQK repacked types, blocks, traits; IQK hooks in ggml_compute_forward_mul_mat

- ggml-cpu with IQK ON builds and links; IQK OFF build unaffected

Assisted-by: opencode (Muse Spark)
2026-09-05 18:09:49 -03:00
..
CMakeLists.txt hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00
README.md hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00
build.sh hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00
ls-sycl-device.cpp hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00
run-llama2.sh hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00
start-svr.sh hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00
test.sh hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00
update-ops-doc.sh hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00
win-build-sycl.bat hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00
win-run-llama2.bat hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00
win-start-svr.bat hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00
win-test.bat hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00
win-update-ops-doc.bat hybrid-llama: merge ik_llama IQK CPU GEMM into TurboQuant fork 2026-09-05 18:09:49 -03:00

README.md

llama.cpp/example/sycl

This example program provides the tools for llama.cpp for SYCL on Intel GPU.

Tool

Tool Name Function Status
llama-ls-sycl-device List all SYCL devices with ID, compute capability, max work group size, etc. Support

llama-ls-sycl-device

List all SYCL devices with ID, compute capability, max work group size, etc.

  1. Build the llama.cpp for SYCL for the specified target (using GGML_SYCL_TARGET).

  2. Enable oneAPI running environment (if GGML_SYCL_TARGET is set to INTEL -default-)

source /opt/intel/oneapi/setvars.sh
  1. Execute
./build/bin/llama-ls-sycl-device

Check the ID in startup log, like:

found 2 SYCL devices:
|  |                   |                                       |       |Max    |        |Max  |Global |                     |
|  |                   |                                       |       |compute|Max work|sub  |mem    |                     |
|ID|        Device Type|                                   Name|Version|units  |group   |group|size   |       Driver version|
|--|-------------------|---------------------------------------|-------|-------|--------|-----|-------|---------------------|
| 0| [level_zero:gpu:0]|                Intel Arc A770 Graphics|    1.3|    512|    1024|   32| 16225M|            1.3.29138|
| 1| [level_zero:gpu:1]|                 Intel UHD Graphics 750|    1.3|     32|     512|   32| 62631M|            1.3.29138|