Skip to content

Commit

Permalink
scripts : add ggml-sycl to sync scripts (#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuullll committed Jun 16, 2024
1 parent dee0d41 commit e8d2325
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/sync-llama-am.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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' \
Expand Down
1 change: 1 addition & 0 deletions scripts/sync-llama.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8d2325

Please sign in to comment.