Skip to content

Commit 6aec435

Browse files
committed
revert unused code
1 parent be021f6 commit 6aec435

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

common/common.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@
6060
#define GGML_USE_CUDA_SYCL_VULKAN
6161
#endif
6262

63-
#if (defined(GGML_USE_CUDA) || defined(GGML_USE_SYCL)) || defined(GGML_USE_CANN)
64-
#define GGML_USE_CUDA_SYCL_CANN
65-
#endif
66-
6763
#if defined(LLAMA_USE_CURL)
6864
#ifdef __linux__
6965
#include <linux/limits.h>

ggml/include/ggml-cann.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,4 @@ void ggml_cann_backend_free(void);
145145

146146
#ifdef __cplusplus
147147
}
148-
#endif
148+
#endif

0 commit comments

Comments
 (0)