From cdab4043b33152d5380e1ee8fb2a73c8e029c3a4 Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Fri, 26 Jan 2024 15:08:31 -0500 Subject: [PATCH] kompute : fix #includes --- ggml-kompute.cpp | 27 ++++++++++++++++----------- ggml-kompute.h | 3 ++- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/ggml-kompute.cpp b/ggml-kompute.cpp index e0ae6cf70..c9abd6c68 100644 --- a/ggml-kompute.cpp +++ b/ggml-kompute.cpp @@ -33,19 +33,24 @@ #include "shaderop_cpy_f32_f16.h" #include "shaderop_cpy_f32_f32.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include #include +#include +#include +#include +#include +#include +#include +#include + #include +#include + +#ifdef __linux__ +#include // for setenv +#endif #define QK4_0 32 #define QR4_0 2 diff --git a/ggml-kompute.h b/ggml-kompute.h index 63048213f..d4a86d31d 100644 --- a/ggml-kompute.h +++ b/ggml-kompute.h @@ -1,10 +1,11 @@ #pragma once +#include "ggml.h" #include "ggml-backend.h" #include -#include #include +#include struct ggml_vk_device { int index = 0;