Skip to content

Commit f915a46

Browse files
committed
remove old ggmlv2 changes
1 parent 5ba9bac commit f915a46

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

otherarch/ggml_v2.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ inline static void* ggml_v2_aligned_malloc(size_t size) {
139139
#include <Accelerate/Accelerate.h>
140140
#elif defined(GGML_USE_OPENBLAS)
141141
#include <cblas.h>
142-
#endif
143-
#if defined(GGML_USE_CUBLAS)
142+
#elif defined(GGML_USE_CUBLAS)
144143
#include "ggml_v2-cuda.h"
145144
#include "ggml_v2-cuda-legacy.h"
146145
#endif
@@ -149,8 +148,6 @@ inline static void* ggml_v2_aligned_malloc(size_t size) {
149148
#include "ggml_v2-opencl-legacy.h"
150149
#endif
151150

152-
153-
154151
#undef MIN
155152
#undef MAX
156153
#define MIN(a, b) ((a) < (b) ? (a) : (b))

0 commit comments

Comments
 (0)