From b161b2f5d7576dfedc86895b256aa0a7919044bb Mon Sep 17 00:00:00 2001 From: Simeon Ehrig Date: Thu, 21 Dec 2023 08:51:16 +0100 Subject: [PATCH] add CUDA 12.3 to the CI --- README.md | 2 +- script/install_cuda.sh | 8 +++++++- script/job_generator/requirements.txt | 2 +- script/job_generator/verify.py | 2 +- script/job_generator/versions.py | 1 + 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 47520a5992ec..945e6fba8622 100644 --- a/README.md +++ b/README.md @@ -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:[^3] | :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: | :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: | :white_check_mark: | -| CUDA (nvcc) | :white_check_mark:
(CUDA 11.0 - 12.2)[^2] | :white_check_mark:
(CUDA 11.4 - 12.0)[^2] | :white_check_mark:
(CUDA 12.0 - 12.2) | :x: | :white_check_mark:
(CUDA 11.0-11.2; 11.6 - 12.0)[^2] | :white_check_mark:
(CUDA 11.2, 11.6 - 12.0)[^2] | :white_check_mark:
(CUDA 11.6 - 12.0)[^2] | :white_check_mark:
(CUDA 11.7 - 12.0) | :white_check_mark:
(CUDA 11.8 - 12.0) | :white_check_mark:
(CUDA 12.2) | :x: | :x: | :x: | :x: | :x: | +| CUDA (nvcc) | :white_check_mark:
(CUDA 11.0 - 12.3)[^2] | :white_check_mark:
(CUDA 11.4 - 12.0)[^2] | :white_check_mark:
(CUDA 12.0 - 12.3) | :x: | :white_check_mark:
(CUDA 11.0-11.2; 11.6 - 12.0)[^2] | :white_check_mark:
(CUDA 11.2, 11.6 - 12.0)[^2] | :white_check_mark:
(CUDA 11.6 - 12.0)[^2] | :white_check_mark:
(CUDA 11.7 - 12.0) | :white_check_mark:
(CUDA 11.8 - 12.0) | :white_check_mark:
(CUDA 12.2) | :white_check_mark:
(CUDA 12.3) | :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] | :white_check_mark: (CUDA 11.0 - 11.8)[^1] | :x: | - | - | | [HIP](https://alpaka.readthedocs.io/en/latest/install/HIP.html) (clang) | - | - | - | :x: | :x: | :x: | :x: | :x: | :white_check_mark: (HIP 5.1 - 5.2) | :white_check_mark: (HIP 5.3 - 5.4) | :white_check_mark: (HIP 5.5 - 5.6) | :white_check_mark: (HIP 5.7 - 6.0) | :x: | - | - | | SYCL | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :white_check_mark:[^4] | :x: | :x: | diff --git a/script/install_cuda.sh b/script/install_cuda.sh index e87cad360035..90dc39a82a18 100755 --- a/script/install_cuda.sh +++ b/script/install_cuda.sh @@ -108,8 +108,14 @@ else ALPAKA_CUDA_PKG_FILE_NAME="${ALPAKA_CUDA_PKG_DEB_NAME}"_12.2.1-535.86.10-1_amd64.deb ALPAKA_CUDA_PKG_FILE_PATH=https://developer.download.nvidia.com/compute/cuda/12.2.1/local_installers/${ALPAKA_CUDA_PKG_FILE_NAME} ALPAKA_CUDA_OLD_KEYS=false + elif [ "${ALPAKA_CI_CUDA_VERSION}" == "12.3" ] + then + ALPAKA_CUDA_PKG_DEB_NAME=cuda-repo-"${ALPAKA_CUDA_DISTRO}"-12-3-local + ALPAKA_CUDA_PKG_FILE_NAME="${ALPAKA_CUDA_PKG_DEB_NAME}"_12.3.2-545.23.08-1_amd64.deb + ALPAKA_CUDA_PKG_FILE_PATH=https://developer.download.nvidia.com/compute/cuda/12.3.2/local_installers/${ALPAKA_CUDA_PKG_FILE_NAME} + ALPAKA_CUDA_OLD_KEYS=false else - echo CUDA versions other than 11.0, 11.1, 11.2, 11.3, 11.4, 11.5, 11.6, 11.7, 11.8, 12.0, 12.1 and 12.2 are not currently supported on linux! + echo CUDA versions other than 11.0, 11.1, 11.2, 11.3, 11.4, 11.5, 11.6, 11.7, 11.8, 12.0, 12.1, 12.2 and 12.3 are not currently supported on linux! fi # First install the local repository. diff --git a/script/job_generator/requirements.txt b/script/job_generator/requirements.txt index a0a8af8c6aa4..44825690082a 100644 --- a/script/job_generator/requirements.txt +++ b/script/job_generator/requirements.txt @@ -1,4 +1,4 @@ -alpaka-job-coverage == 1.5.3 +alpaka-job-coverage == 1.5.8 allpairspy == 2.5.0 typeguard < 3.0.0 pyaml diff --git a/script/job_generator/verify.py b/script/job_generator/verify.py index c4e07fdc1a4f..7871d69fc39b 100644 --- a/script/job_generator/verify.py +++ b/script/job_generator/verify.py @@ -30,7 +30,7 @@ def verify_parameters( for name, version in backend: if not is_supported_version(name=name, version=version): print_warn( - f"{name}-{mod_version} is not officially supported by " + f"{name}-{version} is not officially supported by " "the alpaka-job-library." ) elif param_name not in [BUILD_TYPE, JOB_EXECUTION_TYPE, MDSPAN]: diff --git a/script/job_generator/versions.py b/script/job_generator/versions.py index d010bad3e100..b38262940c03 100644 --- a/script/job_generator/versions.py +++ b/script/job_generator/versions.py @@ -26,6 +26,7 @@ "12.0", "12.1", "12.2", + "12.3", ], HIPCC: ["5.1", "5.2", "5.3", "5.4", "5.5", "5.6", "5.7", "6.0"], ICPX: ["2023.1.0", "2023.2.0"],