Skip to content

Commit 5e2727f

Browse files
committed
scripts : sync vulkan-shaders (#0)
1 parent 56f20aa commit 5e2727f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

scripts/sync-ggml-am.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
119119
# src/ggml-sycl/* -> ggml/src/ggml-sycl/
120120
# src/ggml-sycl.cpp -> ggml/src/ggml-sycl.cpp
121121
# src/ggml-vulkan.cpp -> ggml/src/ggml-vulkan.cpp
122+
# src/vulkan-shaders/* -> ggml/src/vulkan-shaders/
122123
#
123124
# include/ggml.h -> ggml/include/ggml.h
124125
# include/ggml-alloc.h -> ggml/include/ggml-alloc.h
@@ -162,6 +163,7 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
162163
-e 's/([[:space:]]|[ab]\/)src\/ggml-sycl\//\1ggml\/src\/ggml-sycl\//g' \
163164
-e 's/([[:space:]]|[ab]\/)src\/ggml-sycl\.cpp/\1ggml\/src\/ggml-sycl.cpp/g' \
164165
-e 's/([[:space:]]|[ab]\/)src\/ggml-vulkan\.cpp/\1ggml\/src\/ggml-vulkan.cpp/g' \
166+
-e 's/([[:space:]]|[ab]\/)src\/vulkan-shaders\//\1ggml\/src\/vulkan-shaders\//g' \
165167
-e 's/([[:space:]]|[ab]\/)include\/ggml\.h/\1ggml\/include\/ggml.h/g' \
166168
-e 's/([[:space:]]|[ab]\/)include\/ggml-alloc\.h/\1ggml\/include\/ggml-alloc.h/g' \
167169
-e 's/([[:space:]]|[ab]\/)include\/ggml-backend\.h/\1ggml\/include\/ggml-backend.h/g' \

scripts/sync-ggml.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ cp -rpv ../ggml/src/ggml-rpc.cpp ./ggml/src/ggml-rpc.cpp
2323
cp -rpv ../ggml/src/ggml-sycl/* ./ggml/src/ggml-sycl/
2424
cp -rpv ../ggml/src/ggml-sycl.cpp ./ggml/src/ggml-sycl.cpp
2525
cp -rpv ../ggml/src/ggml-vulkan.cpp ./ggml/src/ggml-vulkan.cpp
26+
cp -rpv ../ggml/src/vulkan-shaders/* ./ggml/src/vulkan-shaders/
2627

2728
cp -rpv ../ggml/include/ggml.h ./ggml/include/ggml.h
2829
cp -rpv ../ggml/include/ggml-alloc.h ./ggml/include/ggml-alloc.h

0 commit comments

Comments
 (0)