scripts : sync ggml-blas

This commit is contained in:
Georgi Gerganov 2024-06-16 19:23:32 +03:00
parent 5181494e9f
commit 54d5823ebe
2 changed files with 6 additions and 0 deletions

View File

@ -96,6 +96,8 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
# src/ggml-alloc.c -> ggml-alloc.c
# src/ggml-backend-impl.h -> ggml-backend-impl.h
# src/ggml-backend.c -> ggml-backend.c
# src/ggml-blas.cpp -> ggml-blas.cpp
# src/ggml-blas.h -> ggml-blas.h
# src/ggml-common.h -> ggml-common.h
# src/ggml-cuda/* -> ggml-cuda/
# src/ggml-cuda.cu -> ggml-cuda.cu
@ -131,6 +133,8 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
-e 's/src\/ggml-alloc\.c/ggml-alloc.c/g' \
-e 's/src\/ggml-backend-impl\.h/ggml-backend-impl.h/g' \
-e 's/src\/ggml-backend\.c/ggml-backend.c/g' \
-e 's/src\/ggml-blas\.cpp/ggml-blas.cpp/g' \
-e 's/src\/ggml-blas\.h/ggml-blas.h/g' \
-e 's/src\/ggml-common\.h/ggml-common.h/g' \
-e 's/src\/ggml-cuda\//ggml-cuda\//g' \
-e 's/src\/ggml-cuda\.cu/ggml-cuda.cu/g' \

View File

@ -5,6 +5,8 @@ cp -rpv ../ggml/src/ggml-impl.h ./ggml-impl.h
cp -rpv ../ggml/src/ggml-alloc.c ./ggml-alloc.c
cp -rpv ../ggml/src/ggml-backend-impl.h ./ggml-backend-impl.h
cp -rpv ../ggml/src/ggml-backend.c ./ggml-backend.c
cp -rpv ../ggml/src/ggml-blas.cpp ./ggml-blas.cpp
cp -rpv ../ggml/src/ggml-blas.h ./ggml-blas.h
cp -rpv ../ggml/src/ggml-common.h ./ggml-common.h
cp -rpv ../ggml/src/ggml-cuda/* ./ggml-cuda/
cp -rpv ../ggml/src/ggml-cuda.cu ./ggml-cuda.cu