Skip to content

Commit 47be086

Browse files
committed
scripts : sync ggml-blas
1 parent 71cc7da commit 47be086

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

scripts/sync-llama-am.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ if [ -f $SRC_GGML/llama-src.patch ]; then
9797
# ggml-alloc.c -> src/ggml-alloc.c
9898
# ggml-backend-impl.h -> src/ggml-backend-impl.h
9999
# ggml-backend.c -> src/ggml-backend.c
100+
# ggml-blas.cpp -> src/ggml-blas.cpp
101+
# ggml-blas.h -> src/ggml-blas.h
100102
# ggml-common.h -> src/ggml-common.h
101103
# ggml-cuda/* -> src/ggml-cuda/*
102104
# ggml-cuda.cu -> src/ggml-cuda.cu
@@ -133,6 +135,8 @@ if [ -f $SRC_GGML/llama-src.patch ]; then
133135
-e 's/\/ggml-alloc\.c/\/src\/ggml-alloc.c/g' \
134136
-e 's/\/ggml-backend-impl\.h/\/src\/ggml-backend-impl.h/g' \
135137
-e 's/\/ggml-backend\.c/\/src\/ggml-backend.c/g' \
138+
-e 's/\/ggml-blas\.cpp/\/src\/ggml-blas.cpp/g' \
139+
-e 's/\/ggml-blas\.h/\/src\/ggml-blas.h/g' \
136140
-e 's/\/ggml-common\.h/\/src\/ggml-common.h/g' \
137141
-e 's/\/ggml-cuda\//\/src\/ggml-cuda\//g' \
138142
-e 's/\/ggml-cuda\.cu/\/src\/ggml-cuda.cu/g' \

scripts/sync-llama.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ cp -rpv ../llama.cpp/ggml.c src/ggml.c
44
cp -rpv ../llama.cpp/ggml-alloc.c src/ggml-alloc.c
55
cp -rpv ../llama.cpp/ggml-backend-impl.h src/ggml-backend-impl.h
66
cp -rpv ../llama.cpp/ggml-backend.c src/ggml-backend.c
7+
cp -rpv ../llama.cpp/ggml-blas.cpp src/ggml-blas.cpp
8+
cp -rpv ../llama.cpp/ggml-blas.h src/ggml-blas.h
79
cp -rpv ../llama.cpp/ggml-common.h src/ggml-common.h
810
cp -rpv ../llama.cpp/ggml-cuda/* src/ggml-cuda/
911
cp -rpv ../llama.cpp/ggml-cuda.cu src/ggml-cuda.cu

scripts/sync-whisper-am.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ if [ -f $SRC_GGML/whisper-src.patch ]; then
101101
# ggml-alloc.c -> src/ggml-alloc.c
102102
# ggml-backend-impl.h -> src/ggml-backend-impl.h
103103
# ggml-backend.c -> src/ggml-backend.c
104+
# ggml-blas.cpp -> src/ggml-blas.cpp
105+
# ggml-blas.h -> src/ggml-blas.h
104106
# ggml-common.h -> src/ggml-common.h
105107
# ggml-cuda/* -> src/ggml-cuda/
106108
# ggml-cuda.cu -> src/ggml-cuda.cu
@@ -143,6 +145,8 @@ if [ -f $SRC_GGML/whisper-src.patch ]; then
143145
-e 's/\/ggml-alloc\.c/\/src\/ggml-alloc.c/g' \
144146
-e 's/\/ggml-backend-impl\.h/\/src\/ggml-backend-impl.h/g' \
145147
-e 's/\/ggml-backend\.c/\/src\/ggml-backend.c/g' \
148+
-e 's/\/ggml-blas\.cpp/\/src\/ggml-blas.cpp/g' \
149+
-e 's/\/ggml-blas\.h/\/src\/ggml-blas.h/g' \
146150
-e 's/\/ggml-common\.h/\/src\/ggml-common.h/g' \
147151
-e 's/\/ggml-cuda\//\/src\/ggml-cuda\//g' \
148152
-e 's/\/ggml-cuda\.cu/\/src\/ggml-cuda.cu/g' \

scripts/sync-whisper.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ cp -rpv ../whisper.cpp/ggml-impl.h src/ggml-impl.h
55
cp -rpv ../whisper.cpp/ggml-alloc.c src/ggml-alloc.c
66
cp -rpv ../whisper.cpp/ggml-backend-impl.h src/ggml-backend-impl.h
77
cp -rpv ../whisper.cpp/ggml-backend.c src/ggml-backend.c
8+
cp -rpv ../whisper.cpp/ggml-blas.cpp src/ggml-blas.cpp
9+
cp -rpv ../whisper.cpp/ggml-blas.h src/ggml-blas.h
810
cp -rpv ../whisper.cpp/ggml-common.h src/ggml-common.h
911
cp -rpv ../whisper.cpp/ggml-cuda/* src/ggml-cuda/
1012
cp -rpv ../whisper.cpp/ggml-cuda.cu src/ggml-cuda.cu

0 commit comments

Comments
 (0)