]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
scripts : sync opencl
authorGeorgi Gerganov <redacted>
Tue, 14 Jan 2025 07:20:27 +0000 (09:20 +0200)
committerGeorgi Gerganov <redacted>
Tue, 14 Jan 2025 07:36:36 +0000 (09:36 +0200)
scripts/sync-llama-am.sh
scripts/sync-llama.sh
scripts/sync-whisper-am.sh
scripts/sync-whisper.sh

index 7277fd48fda1c8943fd0c4b30af2f44e202f178e..60261b13d4448ec0dceaec3ac2e1a3c8dc4dd558 100755 (executable)
@@ -80,6 +80,7 @@ while read c; do
         ggml/src/ggml-kompute/* \
         ggml/src/ggml-metal/* \
         ggml/src/ggml-musa/* \
+        ggml/src/ggml-opencl/* \
         ggml/src/ggml-rpc/* \
         ggml/src/ggml-sycl/* \
         ggml/src/ggml-vulkan/* \
@@ -129,6 +130,7 @@ if [ -f $SRC_GGML/llama-src.patch ]; then
     # ggml/src/ggml-kompute/*   -> src/ggml-kompute/*
     # ggml/src/ggml-metal/*     -> src/ggml-metal/*
     # ggml/src/ggml-musa/*      -> src/ggml-musa/*
+    # ggml/src/ggml-opencl/*    -> src/ggml-opencl/*
     # ggml/src/ggml-rpc/*       -> src/ggml-rpc/*
     # ggml/src/ggml-sycl/*      -> src/ggml-sycl/*
     # ggml/src/ggml-vulkan/*    -> src/ggml-vulkan/*
@@ -157,6 +159,7 @@ if [ -f $SRC_GGML/llama-src.patch ]; then
         -e 's/\/ggml\/src\/ggml-kompute\//\/src\/ggml-kompute\//g' \
         -e 's/\/ggml\/src\/ggml-metal\//\/src\/ggml-metal\//g' \
         -e 's/\/ggml\/src\/ggml-musa\//\/src\/ggml-musa\//g' \
+        -e 's/\/ggml\/src\/ggml-opencl\//\/src\/ggml-opencl\//g' \
         -e 's/\/ggml\/src\/ggml-rpc\//\/src\/ggml-rpc\//g' \
         -e 's/\/ggml\/src\/ggml-sycl\//\/src\/ggml-sycl\//g' \
         -e 's/\/ggml\/src\/ggml-vulkan\//\/src\/ggml-vulkan\//g' \
index 9e9d9b3e5ec2316ff5a496766573dd6988bd6194..92d094b392f566ea17545a0d8aeeb1bfb05f067f 100755 (executable)
@@ -15,6 +15,7 @@ cp -rpv ../llama.cpp/ggml/src/ggml-hip/*       src/ggml-hip/
 cp -rpv ../llama.cpp/ggml/src/ggml-kompute/*   src/ggml-kompute/
 cp -rpv ../llama.cpp/ggml/src/ggml-metal/*     src/ggml-metal/
 cp -rpv ../llama.cpp/ggml/src/ggml-musa/*      src/ggml-musa/
+cp -rpv ../llama.cpp/ggml/src/ggml-opencl/*    src/ggml-opencl/
 cp -rpv ../llama.cpp/ggml/src/ggml-rpc/*       src/ggml-rpc/
 cp -rpv ../llama.cpp/ggml/src/ggml-sycl/*      src/ggml-sycl/
 cp -rpv ../llama.cpp/ggml/src/ggml-vulkan/*    src/ggml-vulkan/
index 9fd61a9f4f581d87808718a24fe9d68a9bdefa0d..8e21dbebfda6bc8679b0f9cf71fbbe00a9398d01 100755 (executable)
@@ -67,6 +67,7 @@ while read c; do
         ggml/src/ggml-kompute/* \
         ggml/src/ggml-metal/* \
         ggml/src/ggml-musa/* \
+        ggml/src/ggml-opencl/* \
         ggml/src/ggml-rpc/* \
         ggml/src/ggml-sycl/* \
         ggml/src/ggml-vulkan/* \
@@ -117,6 +118,7 @@ if [ -f $SRC_GGML/whisper-src.patch ]; then
     # ggml/src/ggml-kompute/*   -> src/ggml-kompute/*
     # ggml/src/ggml-metal/*     -> src/ggml-metal/*
     # ggml/src/ggml-musa/*      -> src/ggml-musa/*
+    # ggml/src/ggml-opencl/*    -> src/ggml-opencl/*
     # ggml/src/ggml-rpc/*       -> src/ggml-rpc/*
     # ggml/src/ggml-sycl/*      -> src/ggml-sycl/*
     # ggml/src/ggml-vulkan/*    -> src/ggml-vulkan/*
@@ -146,6 +148,7 @@ if [ -f $SRC_GGML/whisper-src.patch ]; then
         -e 's/\/ggml\/src\/ggml-kompute\//\/src\/ggml-kompute\//g' \
         -e 's/\/ggml\/src\/ggml-metal\//\/src\/ggml-metal\//g' \
         -e 's/\/ggml\/src\/ggml-musa\//\/src\/ggml-musa\//g' \
+        -e 's/\/ggml\/src\/ggml-opencl\//\/src\/ggml-opencl\//g' \
         -e 's/\/ggml\/src\/ggml-rpc\//\/src\/ggml-rpc\//g' \
         -e 's/\/ggml\/src\/ggml-sycl\//\/src\/ggml-sycl\//g' \
         -e 's/\/ggml\/src\/ggml-vulkan\//\/src\/ggml-vulkan\//g' \
index b5c55951cbc046e5e9e03b31d68bb3e10bf91c34..57dee2b2b820955f2b4fefea1ef538b05076a092 100755 (executable)
@@ -15,6 +15,7 @@ cp -rpv ../whisper.cpp/ggml/src/ggml-hip/*       src/ggml-hip/
 cp -rpv ../whisper.cpp/ggml/src/ggml-kompute/*   src/ggml-kompute/
 cp -rpv ../whisper.cpp/ggml/src/ggml-metal/*     src/ggml-metal/
 cp -rpv ../whisper.cpp/ggml/src/ggml-musa/*      src/ggml-musa/
+cp -rpv ../whisper.cpp/ggml/src/ggml-opencl/*    src/ggml-opencl/
 cp -rpv ../whisper.cpp/ggml/src/ggml-rpc/*       src/ggml-rpc/
 cp -rpv ../whisper.cpp/ggml/src/ggml-sycl/*      src/ggml-sycl/
 cp -rpv ../whisper.cpp/ggml/src/ggml-vulkan/*    src/ggml-vulkan/