Branch: nvidia-linux-package
Revision: bf64e983bfb5f264e19e460dd5f785cc281f2d32
Author: jabraham17
Merged at: 2026-11-16T23:16:12Z
Link: Add CHPL_GPU=nvidia to linux packages + fixes by jabraham17 · Pull Request #29681 · chapel-lang/chapel · GitHub
Log Message:
Add CHPL_GPU=nvidia to linux packages + fixes
Adds CHPL_GPU=nvidia to the list ubuntu 26 linux package. Users wishing to use this support must install the cuda libs/drivers, this can be done by installing the suggested packages in apt show ./chapel...
Other fixes
- improves GPU sdk auto-detection for nvidia
- works around a bug with CCCL ([BUG]: including thrust triggers deduction guide errors in cuda/std/string_view using Clang/CUDA · Issue #7896 · NVIDIA/cccl · GitHub, mentioned in [Feature Request]: cuda 13.1 support · Issue #28387 · chapel-lang/chapel · GitHub). This allows Chapel programs to use CUDA 13.1, although the proper fix is to just get the latest CUDA/CCCL. Resolves https://github.com/Cray/chapel-private/issues/7763
[Reviewed by @arifthpe and @benharsh]
Diff:
M doc/rst/platforms/linux-pkg-table.rst
M doc/rst/platforms/linux.rst
A runtime/include/gpu/nvidia/chpl-cub.h
M runtime/include/gpu/nvidia/chpl-gpu-dev-reduce.h
M runtime/src/gpu/nvidia/gpu-nvidia-cub.cc
M util/chplenv/chpl_gpu.py
M util/packaging/apt/test/Dockerfile.template
M util/packaging/apt/ubuntu26/Dockerfile.template
M util/packaging/apt/ubuntu26/control.template
M util/packaging/common/fill_docker_template_common.py
M util/packaging/common/list_package_configs.py
M util/packaging/common/test-minimal-package.sh
https://github.com/chapel-lang/chapel/pull/29681.diff