Skip to content

Commit

Permalink
revert unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
hipudding committed Jul 15, 2024
1 parent be021f6 commit 6aec435
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions common/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <linux/limits.h>
Expand Down
2 changes: 1 addition & 1 deletion ggml/include/ggml-cann.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@ void ggml_cann_backend_free(void);

#ifdef __cplusplus
}
#endif
#endif

0 comments on commit 6aec435

Please sign in to comment.