From: Yilong Guo Date: Sun, 16 Jun 2024 07:40:35 +0000 (-0700) Subject: scripts : add ggml-sycl to sync scripts (#857) X-Git-Tag: upstream/0.0.1642~586 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=e8d2325ea2756e8931252ac07635e6d64f3a23cc;p=pkg%2Fggml%2Fsources%2Fggml scripts : add ggml-sycl to sync scripts (#857) --- diff --git a/scripts/sync-llama-am.sh b/scripts/sync-llama-am.sh index b0170e56..beb8b959 100755 --- a/scripts/sync-llama-am.sh +++ b/scripts/sync-llama-am.sh @@ -60,6 +60,7 @@ while read c; do ggml*.metal \ ggml*.cu \ ggml-cuda/* \ + ggml-sycl/* \ tests/test-opt.cpp \ tests/test-grad0.cpp \ tests/test-quantize-fns.cpp \ @@ -111,6 +112,7 @@ if [ -f $SRC_GGML/llama-src.patch ]; then # ggml-quants.h -> src/ggml-quants.h # ggml-rpc.cpp -> src/ggml-rpc.cpp # ggml-rpc.h -> src/ggml-rpc.h + # ggml-sycl/* -> src/ggml-sycl/* # ggml-sycl.cpp -> src/ggml-sycl.cpp # ggml-sycl.h -> src/ggml-sycl.h # ggml-vulkan.cpp -> src/ggml-vulkan.cpp @@ -148,6 +150,7 @@ if [ -f $SRC_GGML/llama-src.patch ]; then -e 's/\/ggml-quants\.h/\/src\/ggml-quants.h/g' \ -e 's/\/ggml-rpc\.cpp/\/src\/ggml-rpc.cpp/g' \ -e 's/\/ggml-rpc\.h/\/src\/ggml-rpc.h/g' \ + -e 's/\/ggml-sycl\//\/src\/ggml-sycl\//g' \ -e 's/\/ggml-sycl\.cpp/\/src\/ggml-sycl.cpp/g' \ -e 's/\/ggml-sycl\.h/\/src\/ggml-sycl.h/g' \ -e 's/\/ggml-vulkan\.cpp/\/src\/ggml-vulkan.cpp/g' \ diff --git a/scripts/sync-llama.sh b/scripts/sync-llama.sh index 35acb3fe..dd60d51f 100755 --- a/scripts/sync-llama.sh +++ b/scripts/sync-llama.sh @@ -22,6 +22,7 @@ cp -rpv ../llama.cpp/ggml-quants.c src/ggml-quants.c cp -rpv ../llama.cpp/ggml-quants.h src/ggml-quants.h cp -rpv ../llama.cpp/ggml-rpc.cpp src/ggml-rpc.cpp cp -rpv ../llama.cpp/ggml-rpc.h src/ggml-rpc.h +cp -rpv ../llama.cpp/ggml-sycl/* src/ggml-sycl/ cp -rpv ../llama.cpp/ggml-sycl.cpp src/ggml-sycl.cpp cp -rpv ../llama.cpp/ggml-sycl.h src/ggml-sycl.h cp -rpv ../llama.cpp/ggml-vulkan.cpp src/ggml-vulkan.cpp