Spaces:
Running
Running
Akarshan Biswas
commited on
ci: fix SYCL build (#2943)
Browse files
ci/run.sh
CHANGED
|
@@ -10,6 +10,8 @@
|
|
| 10 |
# # with CUDA support
|
| 11 |
# GG_BUILD_CUDA=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
|
| 12 |
#
|
|
|
|
|
|
|
| 13 |
|
| 14 |
if [ -z "$2" ]; then
|
| 15 |
echo "usage: $0 <output-dir> <mnt-dir>"
|
|
@@ -324,8 +326,9 @@ ret=0
|
|
| 324 |
for model in "${MODELS[@]}"; do
|
| 325 |
test $ret -eq 0 && gg_download_model ${model}
|
| 326 |
done
|
| 327 |
-
|
| 328 |
-
test $ret -eq 0 && gg_run ctest debug
|
|
|
|
| 329 |
test $ret -eq 0 && gg_run ctest release
|
| 330 |
|
| 331 |
test $ret -eq 0 && gg_run bench
|
|
|
|
| 10 |
# # with CUDA support
|
| 11 |
# GG_BUILD_CUDA=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
|
| 12 |
#
|
| 13 |
+
# # with SYCL support
|
| 14 |
+
# GG_BUILD_SYCL=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
|
| 15 |
|
| 16 |
if [ -z "$2" ]; then
|
| 17 |
echo "usage: $0 <output-dir> <mnt-dir>"
|
|
|
|
| 326 |
for model in "${MODELS[@]}"; do
|
| 327 |
test $ret -eq 0 && gg_download_model ${model}
|
| 328 |
done
|
| 329 |
+
if [ -z ${GG_BUILD_SYCL}]; then
|
| 330 |
+
test $ret -eq 0 && gg_run ctest debug
|
| 331 |
+
fi
|
| 332 |
test $ret -eq 0 && gg_run ctest release
|
| 333 |
|
| 334 |
test $ret -eq 0 && gg_run bench
|