diff options
author | Jared Van Bortel <jared@nomic.ai> | 2023-11-30 17:23:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 00:23:08 +0200 |
commit | 15f5d96037e597523b721aa39c874d69de2acf85 (patch) | |
tree | 2147a158423feb7866197354a5a8aa6df7c9592f /ggml-opencl.cpp | |
parent | 33c9892af58b7b161f2a532935dcccff8c8048c6 (diff) |
build : fix build info generation and cleanup Makefile (#3920)
* cmake : fix joining of REAL_GIT_DIR
* fix includes with help from include-what-you-use
* make : remove unneeded deps and add test-rope target
* fix C includes in C++ source files
* Revert "fix includes with help from include-what-you-use"
This reverts commit 635e9fadfd516d4604a0fecf4a854bfb25ad17ae.
Diffstat (limited to 'ggml-opencl.cpp')
-rw-r--r-- | ggml-opencl.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/ggml-opencl.cpp b/ggml-opencl.cpp index 202bcb48..496f9cdc 100644 --- a/ggml-opencl.cpp +++ b/ggml-opencl.cpp @@ -1,20 +1,18 @@ +#include "ggml.h" #include "ggml-opencl.h" #include <array> #include <atomic> +#include <cstdio> +#include <cstdlib> +#include <cstring> +#include <limits> #include <sstream> #include <vector> -#include <limits> #define CL_TARGET_OPENCL_VERSION 110 #include <clblast.h> -#include <stdlib.h> -#include <stdio.h> -#include <string.h> - -#include "ggml.h" - #if defined(_MSC_VER) #pragma warning(disable: 4244 4267) // possible loss of data #endif |