0007-blas.patch 753 B

1234567891011121314151617181920212223242526272829
  1. From 9a5a9479d9cdf2032ff989fd297e50490f53e4c2 Mon Sep 17 00:00:00 2001
  2. From: Jesse Gross <jesse@ollama.com>
  3. Date: Mon, 30 Sep 2024 16:31:04 -0700
  4. Subject: [PATCH 07/11] blas
  5. ---
  6. ggml/src/ggml-blas/ggml-blas.cpp | 4 ++++
  7. 1 file changed, 4 insertions(+)
  8. diff --git a/ggml/src/ggml-blas/ggml-blas.cpp b/ggml/src/ggml-blas/ggml-blas.cpp
  9. index ec158dfa..b3ac1fa4 100644
  10. --- a/ggml/src/ggml-blas/ggml-blas.cpp
  11. +++ b/ggml/src/ggml-blas/ggml-blas.cpp
  12. @@ -1,3 +1,5 @@
  13. +#ifdef GGML_USE_BLAS
  14. +
  15. #include "ggml-impl.h"
  16. #include "ggml-blas.h"
  17. #include "ggml-backend-impl.h"
  18. @@ -515,3 +517,5 @@ ggml_backend_reg_t ggml_backend_blas_reg(void) {
  19. }
  20. GGML_BACKEND_DL_IMPL(ggml_backend_blas_reg)
  21. +
  22. +#endif // GGML_USE_BLAS
  23. \ No newline at end of file
  24. --
  25. 2.46.0