add wait() to make code stable (#5895)

This commit is contained in:
Neo Zhang Jianyu
2024-03-06 12:08:32 +08:00
committed by GitHub
parent 652ca2bded
commit 8ced9f7e32
2 changed files with 48 additions and 14 deletions

View File

@ -45,7 +45,8 @@ fi
if [ ! -z ${GG_BUILD_SYCL} ]; then
if [ -z ${ONEAPI_ROOT} ]; then
echo "Not detected ONEAPI_ROOT, please install oneAPI base toolkit and enable it by:\n source /opt/intel/oneapi/setvars.sh"
echo "Not detected ONEAPI_ROOT, please install oneAPI base toolkit and enable it by:"
echo "source /opt/intel/oneapi/setvars.sh"
exit 1
fi