Skip to content

Commit 3f2d538

Browse files
committed
scripts : fix sync for sycl
1 parent 2ee44c9 commit 3f2d538

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

scripts/sync-ggml-am.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ while read c; do
6363
src/ggml*.metal \
6464
src/ggml*.cu \
6565
src/ggml-cuda/* \
66+
src/ggml-sycl/* \
6667
include/ggml*.h \
6768
tests/test-opt.cpp \
6869
tests/test-grad0.cpp \
@@ -113,6 +114,7 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
113114
# src/ggml-quants.c -> ggml/src/ggml-quants.c
114115
# src/ggml-quants.h -> ggml/src/ggml-quants.h
115116
# src/ggml-rpc.cpp -> ggml/src/ggml-rpc.cpp
117+
# src/ggml-sycl/* -> ggml/src/ggml-sycl/
116118
# src/ggml-sycl.cpp -> ggml/src/ggml-sycl.cpp
117119
# src/ggml-vulkan.cpp -> ggml/src/ggml-vulkan.cpp
118120
#
@@ -153,6 +155,7 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
153155
-e 's/([[:space:]]|[ab]\/)src\/ggml-quants\.c/\1ggml\/src\/ggml-quants.c/g' \
154156
-e 's/([[:space:]]|[ab]\/)src\/ggml-quants\.h/\1ggml\/src\/ggml-quants.h/g' \
155157
-e 's/([[:space:]]|[ab]\/)src\/ggml-rpc\.cpp/\1ggml\/src\/ggml-rpc.cpp/g' \
158+
-e 's/([[:space:]]|[ab]\/)src\/ggml-sycl\//\1ggml\/src\/ggml-sycl\//g' \
156159
-e 's/([[:space:]]|[ab]\/)src\/ggml-sycl\.cpp/\1ggml\/src\/ggml-sycl.cpp/g' \
157160
-e 's/([[:space:]]|[ab]\/)src\/ggml-vulkan\.cpp/\1ggml\/src\/ggml-vulkan.cpp/g' \
158161
-e 's/([[:space:]]|[ab]\/)include\/ggml\.h/\1ggml\/include\/ggml.h/g' \

scripts/sync-ggml.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ cp -rpv ../ggml/src/ggml-metal.metal ./ggml/src/ggml-metal.metal
1818
cp -rpv ../ggml/src/ggml-quants.c ./ggml/src/ggml-quants.c
1919
cp -rpv ../ggml/src/ggml-quants.h ./ggml/src/ggml-quants.h
2020
cp -rpv ../ggml/src/ggml-rpc.cpp ./ggml/src/ggml-rpc.cpp
21+
cp -rpv ../ggml/src/ggml-sycl/* ./ggml/src/ggml-sycl/
2122
cp -rpv ../ggml/src/ggml-sycl.cpp ./ggml/src/ggml-sycl.cpp
2223
cp -rpv ../ggml/src/ggml-vulkan.cpp ./ggml/src/ggml-vulkan.cpp
2324

0 commit comments

Comments
 (0)