summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/sycl/build.sh2
-rwxr-xr-xexamples/sycl/run-llama2.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/sycl/build.sh b/examples/sycl/build.sh
index f20391d7..db46d57c 100755
--- a/examples/sycl/build.sh
+++ b/examples/sycl/build.sh
@@ -20,4 +20,4 @@ cmake .. -DLLAMA_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx
#cmake --build . --config Release --target llama-bench
#build all binary
-cmake --build . --config Release -v
+cmake --build . --config Release -j -v
diff --git a/examples/sycl/run-llama2.sh b/examples/sycl/run-llama2.sh
index c979a52f..7b39a18c 100755
--- a/examples/sycl/run-llama2.sh
+++ b/examples/sycl/run-llama2.sh
@@ -12,6 +12,7 @@ if [ $# -gt 0 ]; then
GGML_SYCL_SINGLE_GPU=1
else
GGML_SYCL_DEVICE=0
+ GGML_SYCL_SINGLE_GPU=0
fi
#export GGML_SYCL_DEBUG=1