mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-14 06:49:54 +00:00
scripts : fix sync for sycl
This commit is contained in:
parent
2ee44c9a18
commit
3f2d538b81
@ -63,6 +63,7 @@ while read c; do
|
|||||||
src/ggml*.metal \
|
src/ggml*.metal \
|
||||||
src/ggml*.cu \
|
src/ggml*.cu \
|
||||||
src/ggml-cuda/* \
|
src/ggml-cuda/* \
|
||||||
|
src/ggml-sycl/* \
|
||||||
include/ggml*.h \
|
include/ggml*.h \
|
||||||
tests/test-opt.cpp \
|
tests/test-opt.cpp \
|
||||||
tests/test-grad0.cpp \
|
tests/test-grad0.cpp \
|
||||||
@ -113,6 +114,7 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
|
|||||||
# src/ggml-quants.c -> ggml/src/ggml-quants.c
|
# src/ggml-quants.c -> ggml/src/ggml-quants.c
|
||||||
# src/ggml-quants.h -> ggml/src/ggml-quants.h
|
# src/ggml-quants.h -> ggml/src/ggml-quants.h
|
||||||
# src/ggml-rpc.cpp -> ggml/src/ggml-rpc.cpp
|
# src/ggml-rpc.cpp -> ggml/src/ggml-rpc.cpp
|
||||||
|
# src/ggml-sycl/* -> ggml/src/ggml-sycl/
|
||||||
# src/ggml-sycl.cpp -> ggml/src/ggml-sycl.cpp
|
# src/ggml-sycl.cpp -> ggml/src/ggml-sycl.cpp
|
||||||
# src/ggml-vulkan.cpp -> ggml/src/ggml-vulkan.cpp
|
# src/ggml-vulkan.cpp -> ggml/src/ggml-vulkan.cpp
|
||||||
#
|
#
|
||||||
@ -153,6 +155,7 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
|
|||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-quants\.c/\1ggml\/src\/ggml-quants.c/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-quants\.c/\1ggml\/src\/ggml-quants.c/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-quants\.h/\1ggml\/src\/ggml-quants.h/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-quants\.h/\1ggml\/src\/ggml-quants.h/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-rpc\.cpp/\1ggml\/src\/ggml-rpc.cpp/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-rpc\.cpp/\1ggml\/src\/ggml-rpc.cpp/g' \
|
||||||
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-sycl\//\1ggml\/src\/ggml-sycl\//g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-sycl\.cpp/\1ggml\/src\/ggml-sycl.cpp/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-sycl\.cpp/\1ggml\/src\/ggml-sycl.cpp/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-vulkan\.cpp/\1ggml\/src\/ggml-vulkan.cpp/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-vulkan\.cpp/\1ggml\/src\/ggml-vulkan.cpp/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)include\/ggml\.h/\1ggml\/include\/ggml.h/g' \
|
-e 's/([[:space:]]|[ab]\/)include\/ggml\.h/\1ggml\/include\/ggml.h/g' \
|
||||||
|
@ -18,6 +18,7 @@ cp -rpv ../ggml/src/ggml-metal.metal ./ggml/src/ggml-metal.metal
|
|||||||
cp -rpv ../ggml/src/ggml-quants.c ./ggml/src/ggml-quants.c
|
cp -rpv ../ggml/src/ggml-quants.c ./ggml/src/ggml-quants.c
|
||||||
cp -rpv ../ggml/src/ggml-quants.h ./ggml/src/ggml-quants.h
|
cp -rpv ../ggml/src/ggml-quants.h ./ggml/src/ggml-quants.h
|
||||||
cp -rpv ../ggml/src/ggml-rpc.cpp ./ggml/src/ggml-rpc.cpp
|
cp -rpv ../ggml/src/ggml-rpc.cpp ./ggml/src/ggml-rpc.cpp
|
||||||
|
cp -rpv ../ggml/src/ggml-sycl/* ./ggml/src/ggml-sycl/
|
||||||
cp -rpv ../ggml/src/ggml-sycl.cpp ./ggml/src/ggml-sycl.cpp
|
cp -rpv ../ggml/src/ggml-sycl.cpp ./ggml/src/ggml-sycl.cpp
|
||||||
cp -rpv ../ggml/src/ggml-vulkan.cpp ./ggml/src/ggml-vulkan.cpp
|
cp -rpv ../ggml/src/ggml-vulkan.cpp ./ggml/src/ggml-vulkan.cpp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user