Download examples/sycl/ls-sycl-device.cpp from Brunobkr/llama.cpp_AlgMor24_github: direct link, hf CLI and curl.
- Browser
- Download file 251 Bytes
-
https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/9f63da05cd17e144eb118af61a784286378961ba/examples/sycl/ls-sycl-device.cpp
- Command line
-
hf download hf://datasets/Brunobkr/llama.cpp_AlgMor24_github@9f63da05cd17e144eb118af61a784286378961ba/examples/sycl/ls-sycl-device.cpp
-
curl -L -o ls-sycl-device.cpp https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/9f63da05cd17e144eb118af61a784286378961ba/examples/sycl/ls-sycl-device.cpp
251 Bytes
| // | |
| // MIT license | |
| // Copyright (C) 2024 Intel Corporation | |
| // SPDX-License-Identifier: MIT | |
| // | |
| int main() { | |
| std::setlocale(LC_NUMERIC, "C"); | |
| ggml_backend_sycl_print_sycl_devices(); | |
| return 0; | |
| } | |