From b333b06772c89d96aacb5490d6a219fba7c09cc6 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 12 Feb 2026 20:57:17 +0100 Subject: Engage! --- llama.cpp/ggml/src/ggml-sycl/sycl_hw.hpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 llama.cpp/ggml/src/ggml-sycl/sycl_hw.hpp (limited to 'llama.cpp/ggml/src/ggml-sycl/sycl_hw.hpp') diff --git a/llama.cpp/ggml/src/ggml-sycl/sycl_hw.hpp b/llama.cpp/ggml/src/ggml-sycl/sycl_hw.hpp new file mode 100644 index 0000000..36b140b --- /dev/null +++ b/llama.cpp/ggml/src/ggml-sycl/sycl_hw.hpp @@ -0,0 +1,26 @@ +#ifndef SYCL_HW_HPP +#define SYCL_HW_HPP + +#include +#include +#include +#include + +#include + +namespace syclex = sycl::ext::oneapi::experimental; + +// TODO: currently not used +/* +struct sycl_hw_info { + syclex::architecture arch; + int32_t device_id; +}; + +bool is_in_vector(std::vector &vec, int item); + +sycl_hw_info get_device_hw_info(sycl::device *device_ptr); +*/ + + +#endif // SYCL_HW_HPP -- cgit v1.2.3