Spaces:
Build error
Build error
Download llama.cpp/examples/sycl/ls-sycl-device.cpp from YZ-TAN/flask-llama: direct link, hf CLI and curl.
- Browser
- Download file 208 Bytes
-
https://huggingface.co/spaces/YZ-TAN/flask-llama/resolve/5a292634f6a0d0358b4ea9a6e2ca2bcc779f3785/llama.cpp/examples/sycl/ls-sycl-device.cpp
- Command line
-
hf download hf://spaces/YZ-TAN/flask-llama@5a292634f6a0d0358b4ea9a6e2ca2bcc779f3785/llama.cpp/examples/sycl/ls-sycl-device.cpp
-
curl -L -o ls-sycl-device.cpp https://huggingface.co/spaces/YZ-TAN/flask-llama/resolve/5a292634f6a0d0358b4ea9a6e2ca2bcc779f3785/llama.cpp/examples/sycl/ls-sycl-device.cpp
208 Bytes
| // | |
| // MIT license | |
| // Copyright (C) 2024 Intel Corporation | |
| // SPDX-License-Identifier: MIT | |
| // | |
| int main() { | |
| ggml_backend_sycl_print_sycl_devices(); | |
| return 0; | |
| } | |