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