Skip to content

Commit 72c16d2

Browse files
committed
Revert "fix my mistake that broke other arches"
This reverts commit 777aed5.
1 parent 777aed5 commit 72c16d2

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

otherarch/gpt2_v3.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818

1919
#ifdef GGML_USE_CUBLAS
2020
#include "ggml-cuda.h"
21-
#elif defined(GGML_USE_CLBLAST)
21+
#endif
22+
#if defined(GGML_USE_CLBLAST)
2223
#include "ggml-opencl.h"
2324
#endif
2425

otherarch/gptj_v3.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818

1919
#ifdef GGML_USE_CUBLAS
2020
#include "ggml-cuda.h"
21-
#elif defined(GGML_USE_CLBLAST)
21+
#endif
22+
#if defined(GGML_USE_CLBLAST)
2223
#include "ggml-opencl.h"
2324
#endif
2425

otherarch/llama_v2.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
#ifdef GGML_USE_CUBLAS
1414
#include "ggml_v2-cuda.h"
15-
#elif defined(GGML_USE_CLBLAST)
15+
#endif
16+
#if defined(GGML_USE_CLBLAST)
1617
#include "ggml_v2-opencl.h"
1718
#endif
1819

otherarch/mpt_v3.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818

1919
#ifdef GGML_USE_CUBLAS
2020
#include "ggml-cuda.h"
21-
#elif defined(GGML_USE_CLBLAST)
21+
#endif
22+
#if defined(GGML_USE_CLBLAST)
2223
#include "ggml-opencl.h"
2324
#endif
2425

otherarch/neox_v3.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717
#ifdef GGML_USE_CUBLAS
1818
#include "ggml-cuda.h"
19-
#elif defined(GGML_USE_CLBLAST)
19+
#endif
20+
#if defined(GGML_USE_CLBLAST)
2021
#include "ggml-opencl.h"
2122
#endif
2223

0 commit comments

Comments
 (0)