83.3 GB
3,227 files
Updated about 1 month ago
Name
Size
CMakeLists.txt341 Bytes
xet
README.md1.46 kB
xet
build.sh1.33 kB
xet
ls-sycl-device.cpp251 Bytes
xet
run-llama2.sh1.12 kB
xet
start-svr.sh3.91 kB
xet
test.sh4.22 kB
xet
update-ops-doc.sh201 Bytes
xet
win-build-sycl.bat1.47 kB
xet
win-run-llama2.bat471 Bytes
xet
win-start-svr.bat4.41 kB
xet
win-test.bat4.91 kB
xet
win-update-ops-doc.bat204 Bytes
xet
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|
Total size
83.3 GB
Files
3,227
Last updated
Jul 8
Pre-warmed CDN
US EU US EU

Contributors