# \[Chapel Merge\] Add CHPL\_GPU=nvidia to linux packages + fixes

**URL:** <https://chapel.discourse.group/t/chapel-merge-add-chpl-gpu-nvidia-to-linux-packages-fixes/52517>\
**Category:** Commits\
**Created:** [November 16, 2026, 11:17pm UTC](https://chapel.discourse.group/t/chapel-merge-add-chpl-gpu-nvidia-to-linux-packages-fixes/52517 "2026-11-16T23:17:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chapelhpcBot](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chapelhpcBot](https://chapel.discourse.group/u/chapelhpcBot)\
**Post date:** [November 16, 2026, 11:17pm UTC](https://chapel.discourse.group/t/chapel-merge-add-chpl-gpu-nvidia-to-linux-packages-fixes/52517/1 "2026-11-16T23:17:18Z")

</div>

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](https://github.com/chapel-lang/chapel/pull/29681)  
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](https://github.com/NVIDIA/cccl/issues/7896), mentioned in [[Feature Request]: cuda 13.1 support · Issue #28387 · chapel-lang/chapel · GitHub](https://github.com/chapel-lang/chapel/issues/28387#issuecomment-4781908200)). 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](https://github.com/Cray/chapel-private/issues/7763)

[Reviewed by @arifthpe and @benharsh]

Compare: [Add CHPL\_GPU=nvidia to linux packages + fixes by jabraham17 · Pull Request #29681 · chapel-lang/chapel · GitHub](https://github.com/chapel-lang/chapel/pull/29681/changes)

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](https://github.com/chapel-lang/chapel/pull/29681.diff)
