summaryrefslogtreecommitdiff
path: root/ggml-sycl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ggml-sycl.h')
-rw-r--r--ggml-sycl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ggml-sycl.h b/ggml-sycl.h
index bf5b11b3..c549a64a 100644
--- a/ggml-sycl.h
+++ b/ggml-sycl.h
@@ -29,6 +29,11 @@ GGML_API GGML_CALL ggml_backend_buffer_type_t ggml_backend_sycl_split_buffer_typ
GGML_API GGML_CALL void ggml_backend_sycl_get_device_memory(int device, size_t *free, size_t *total);
GGML_API GGML_CALL int ggml_backend_sycl_get_device_index(int device_id);
+// TODO: these are temporary
+// ref: https://github.com/ggerganov/llama.cpp/pull/6022#issuecomment-1992615670
+GGML_API GGML_CALL int ggml_backend_sycl_get_device_id(int device_index);
+GGML_API GGML_CALL void ggml_backend_sycl_set_single_device_mode(int main_gpu_id);
+GGML_API GGML_CALL void ggml_backend_sycl_set_mul_device_mode();
#ifdef __cplusplus
}
#endif