-
Notifications
You must be signed in to change notification settings - Fork 2
Update ci.yml #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
# grrrr | ||
# as long as the conda packages differ from system oneAPI installs we need to explicitly provide the include dir for SYCL | ||
# see also below in cmake call | ||
# for root in "${CONDA_PREFIX}" "${BUILD_PREFIX}"; do | ||
# spirvdir=$(find "${root}" -type d -name __spirv | head -n 1) | ||
# if [ -d "${spirvdir}" ]; then | ||
# SPIRV_INC_DIR=$(dirname "${spirvdir}") | ||
# break | ||
# fi | ||
# done | ||
# if [ -d "${SPIRV_INC_DIR}" ]; then | ||
# echo "Using SPIRV_INC_DIR=${SPIRV_INC_DIR}" | ||
# mkdir -p "${SRC_DIR}/grrrr/include" | ||
# ln -s "${SPIRV_INC_DIR}" "${SRC_DIR}/grrrr/include/CL" | ||
# SPIRV_INC_DIR="${SRC_DIR}/grrrr/include" | ||
# else | ||
# echo "Fatal error: SPIRV_INC_DIR not found" | ||
# exit 1 | ||
# fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rm comments?
# -DLEVEL_ZERO_DIR=${INSTALLED_DIR}/level-zero \ | ||
# -DIMEX_ENABLE_SYCL_RUNTIME=1 \ | ||
# -DIMEX_ENABLE_L0_RUNTIME=1 \ | ||
# -DCMAKE_CXX_FLAGS="-I${SPIRV_INC_DIR}" # grrrr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rm comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you don't mind I'll keep the comments for later when we enable oneAPI/devices.
@tkarna