From 6aec435e15585f4f0eb1582e1c0621d1172b01d4 Mon Sep 17 00:00:00 2001 From: huafengchun Date: Mon, 15 Jul 2024 07:25:20 +0000 Subject: [PATCH] revert unused code --- common/common.cpp | 4 ---- ggml/include/ggml-cann.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/common/common.cpp b/common/common.cpp index ac4365178763a7..1f7359980a94db 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -60,10 +60,6 @@ #define GGML_USE_CUDA_SYCL_VULKAN #endif -#if (defined(GGML_USE_CUDA) || defined(GGML_USE_SYCL)) || defined(GGML_USE_CANN) -#define GGML_USE_CUDA_SYCL_CANN -#endif - #if defined(LLAMA_USE_CURL) #ifdef __linux__ #include diff --git a/ggml/include/ggml-cann.h b/ggml/include/ggml-cann.h index 99a813affd9b59..e5dc1d911e9d44 100644 --- a/ggml/include/ggml-cann.h +++ b/ggml/include/ggml-cann.h @@ -145,4 +145,4 @@ void ggml_cann_backend_free(void); #ifdef __cplusplus } -#endif \ No newline at end of file +#endif