Skip to content

Commit

Permalink
Enable release builds for gcc-9 + CUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
j-stephan committed Aug 1, 2023
1 parent 8e5ae6e commit 7ebf53f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 22 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ __pycache__

# default name of the job_generator.py output
jobs.yml

# pipenv files
Pipfile
Pipfile.lock
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ This library uses C++17 (or newer when available).
| OpenMP 2.0+ threads | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| std::thread | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| TBB | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| CUDA (nvcc) | :white_check_mark: <br/> (CUDA 11.0 - 12.0) | :white_check_mark: <br/> (CUDA 11.4 - 12.0) | :white_check_mark: <br/> (CUDA 12.0 - 12.1) | :x: | :white_check_mark: <br/> (CUDA 11.0-11.2; 11.6 - 12.0) | :white_check_mark: <br/> (CUDA 11.2, 11.6 - 12.0) | :white_check_mark: <br/> (CUDA 11.6 - 12.0) | :white_check_mark: <br/> (CUDA 11.7 - 12.0) | :white_check_mark: <br/> (CUDA 11.8 - 12.0) | :white_check_mark: <br/> (CUDA 12.1) | :x: | :x: | :x: | :x: |
| CUDA (nvcc) | :white_check_mark: <br/> (CUDA 11.0 - 12.1) | :white_check_mark: <br/> (CUDA 11.4 - 12.0) | :white_check_mark: <br/> (CUDA 12.0 - 12.1) | :x: | :white_check_mark: <br/> (CUDA 11.0-11.2; 11.6 - 12.0) | :white_check_mark: <br/> (CUDA 11.2, 11.6 - 12.0) | :white_check_mark: <br/> (CUDA 11.6 - 12.0) | :white_check_mark: <br/> (CUDA 11.7 - 12.0) | :white_check_mark: <br/> (CUDA 11.8 - 12.0) | :white_check_mark: <br/> (CUDA 12.1) | :x: | :x: | :x: | :x: |
| CUDA (clang) | - | - | - | :x: | :x: | :x: | :x: | :x: | :white_check_mark: (CUDA 11.0 - 11.5) | :white_check_mark: (CUDA 11.0 - 11.5)[^1] | :white_check_mark: (CUDA 11.0 - 11.5)[^1] | :x: | - | - |
| [HIP](https://alpaka.readthedocs.io/en/latest/install/HIP.html) (clang) | - | - | - | :x: | :x: | :x: | :x: | :x: | :white_check_mark: (HIP 5.0 - 5.2) | :white_check_mark: (HIP 5.3 - 5.4) | :white_check_mark: (HIP 5.5) | :x: | - | - |

Expand Down
20 changes: 0 additions & 20 deletions script/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,26 +73,6 @@ then
export ALPAKA_CI_INSTALL_OMP="ON"
fi

# nvcc does not recognize GCC-9 builtins from avx512fintrin.h in Release
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731
# https://github.com/tensorflow/tensorflow/issues/10220
if [ "${ALPAKA_CI_INSTALL_CUDA}" == "ON" ]
then
if [[ "${CXX}" == "g++"* ]]
then
if (( "${ALPAKA_CI_GCC_VER_MAJOR}" == 9 ))
then
if [ "${CMAKE_CUDA_COMPILER}" == "nvcc" ]
then
if [ "${CMAKE_BUILD_TYPE}" == "Release" ]
then
export CMAKE_BUILD_TYPE=Debug
fi
fi
fi
fi
fi

if [ "$ALPAKA_CI_OS_NAME" = "Linux" ]
then
if [ "${ALPAKA_CI_STDLIB}" == "libc++" ]
Expand Down
2 changes: 1 addition & 1 deletion script/job_generator/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
alpaka-job-coverage == 1.3.6
alpaka-job-coverage == 1.4.0
allpairspy == 2.5.0
typeguard < 3.0.0
pyaml
Expand Down

0 comments on commit 7ebf53f

Please sign in to comment.