summaryrefslogtreecommitdiff
path: root/llama.cpp/ggml/src/ggml-sycl/sycl_hw.hpp
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-02-12 20:57:17 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-02-12 20:57:17 +0100
commitb333b06772c89d96aacb5490d6a219fba7c09cc6 (patch)
tree211df60083a5946baa2ed61d33d8121b7e251b06 /llama.cpp/ggml/src/ggml-sycl/sycl_hw.hpp
downloadllmnpc-b333b06772c89d96aacb5490d6a219fba7c09cc6.tar.gz
Engage!
Diffstat (limited to 'llama.cpp/ggml/src/ggml-sycl/sycl_hw.hpp')
-rw-r--r--llama.cpp/ggml/src/ggml-sycl/sycl_hw.hpp26
1 files changed, 26 insertions, 0 deletions
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 @@
1#ifndef SYCL_HW_HPP
2#define SYCL_HW_HPP
3
4#include <algorithm>
5#include <stdio.h>
6#include <vector>
7#include <map>
8
9#include <sycl/sycl.hpp>
10
11namespace syclex = sycl::ext::oneapi::experimental;
12
13// TODO: currently not used
14/*
15struct sycl_hw_info {
16 syclex::architecture arch;
17 int32_t device_id;
18};
19
20bool is_in_vector(std::vector<int> &vec, int item);
21
22sycl_hw_info get_device_hw_info(sycl::device *device_ptr);
23*/
24
25
26#endif // SYCL_HW_HPP