Skip to content

Commit c95fa36

Browse files
authored
ci: [SYCL] ggml-ci Use main GPU and enable sysman (#12547)
1 parent 2b65ae3 commit c95fa36

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/run.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ if [ ! -z ${GG_BUILD_SYCL} ]; then
5252
echo "source /opt/intel/oneapi/setvars.sh"
5353
exit 1
5454
fi
55-
55+
# Use only main GPU
56+
export ONEAPI_DEVICE_SELECTOR="level_zero:0"
57+
# Enable sysman for correct memory reporting
58+
export ZES_ENABLE_SYSMAN=1
5659
CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_SYCL=1 -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DGGML_SYCL_F16=ON"
5760
fi
5861

0 commit comments

Comments
 (0)