Skip to content

Commit 777aed5

Browse files
committed
fix my mistake that broke other arches
1 parent 27780a9 commit 777aed5

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

otherarch/gpt2_v3.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818

1919
#ifdef GGML_USE_CUBLAS
2020
#include "ggml-cuda.h"
21-
#endif
22-
#if defined(GGML_USE_CLBLAST)
21+
#elif defined(GGML_USE_CLBLAST)
2322
#include "ggml-opencl.h"
2423
#endif
2524

otherarch/gptj_v3.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818

1919
#ifdef GGML_USE_CUBLAS
2020
#include "ggml-cuda.h"
21-
#endif
22-
#if defined(GGML_USE_CLBLAST)
21+
#elif defined(GGML_USE_CLBLAST)
2322
#include "ggml-opencl.h"
2423
#endif
2524

otherarch/llama_v2.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
#ifdef GGML_USE_CUBLAS
1414
#include "ggml_v2-cuda.h"
15-
#endif
16-
#if defined(GGML_USE_CLBLAST)
15+
#elif defined(GGML_USE_CLBLAST)
1716
#include "ggml_v2-opencl.h"
1817
#endif
1918

otherarch/mpt_v3.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818

1919
#ifdef GGML_USE_CUBLAS
2020
#include "ggml-cuda.h"
21-
#endif
22-
#if defined(GGML_USE_CLBLAST)
21+
#elif defined(GGML_USE_CLBLAST)
2322
#include "ggml-opencl.h"
2423
#endif
2524

otherarch/neox_v3.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
#ifdef GGML_USE_CUBLAS
1818
#include "ggml-cuda.h"
19-
#endif
20-
#if defined(GGML_USE_CLBLAST)
19+
#elif defined(GGML_USE_CLBLAST)
2120
#include "ggml-opencl.h"
2221
#endif
2322

0 commit comments

Comments
 (0)