Skip to content

Commit

Permalink
fix icpx OpenMP atomics
Browse files Browse the repository at this point in the history
CI_FILTER: ^linux_icpx
  • Loading branch information
psychocoderHPC committed Dec 21, 2023
1 parent cf105b7 commit 3c61c3d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
3 changes: 1 addition & 2 deletions script/install_oneapi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ then
# The compiler will automatically pull in OpenMP and TBB as dependencies
components=(
intel-oneapi-common-vars # Contains /opt/intel/oneapi/setvars.sh - has no version number
intel-oneapi-compiler-dpcpp-cpp-"${ALPAKA_CI_ONEAPI_VERSION}" # Contains icpx compiler and SYCL runtime
intel-oneapi-runtime-opencl # Required to run SYCL tests on the CPU - has no version number
intel-oneapi-runtime-openmp-"${ALPAKA_CI_ONEAPI_VERSION}" # Contains icpx compiler and SYCL runtime
)
travis_retry sudo apt-get install -y "${components[@]}"

Expand Down
9 changes: 9 additions & 0 deletions script/job_generator/alpaka_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,13 @@ def alpaka_post_filter(row: List) -> bool:
):
return False

# OpenMP is not supported for ipcx < 2024
#if row_check_name(row, HOST_COMPILER, "==", ICPX) and row_check_version(row, HOST_COMPILER, "!=", "2024.0") and (
# row_check_backend_version(row, ALPAKA_ACC_CPU_B_SEQ_T_OMP2_ENABLE, "==", ON_VER)
# or row_check_backend_version(
# row, ALPAKA_ACC_CPU_B_SEQ_T_OMP2_ENABLE, "==", ON_VER
#)
#):
# return False

return True
6 changes: 3 additions & 3 deletions script/job_generator/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"12.2",
],
HIPCC: ["5.0", "5.1", "5.2", "5.3", "5.4", "5.5"],
ICPX: ["2023.1.0", "2023.2.0"],
ICPX: ["2024.0"],
# Contains all enabled back-ends.
# There are special cases for ALPAKA_ACC_GPU_CUDA_ENABLE and ALPAKA_ACC_GPU_HIP_ENABLE
# which have to be combined with nvcc and hipcc versions.
Expand Down Expand Up @@ -68,8 +68,8 @@
# Turn off OpenMP back-ends until Intel fixes https://github.com/intel/llvm/issues/10711
[
ALPAKA_ACC_CPU_B_SEQ_T_SEQ_ENABLE,
ALPAKA_ACC_CPU_B_TBB_T_SEQ_ENABLE,
ALPAKA_ACC_SYCL_ENABLE,
ALPAKA_ACC_CPU_B_SEQ_T_OMP2_ENABLE,
ALPAKA_ACC_CPU_B_OMP2_T_SEQ_ENABLE
],
],
UBUNTU: ["20.04"],
Expand Down

0 comments on commit 3c61c3d

Please sign in to comment.