🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2528

Bug#882667: hypre: activate GPU support

#2528
From: Drew Parsons
Date: Wed, 28 Oct 2026 20:00
27 lines
2723 bytes
Source: hypre
Followup-For: Bug #882667

HIP support now works with ROCM/HIP 7.2.4.

tested with single GPU only
ROCM_ARCHS=gfx1201
CMAKE_GPU_FLAGS += -DHYPRE_ENABLE_HIP=ON \
                        -DROCM_PATH=/usr \
			-DCMAKE_HIP_PLATFORM=amd    \
			-DCMAKE_HIP_ARCHITECTURES='$(ROCM_ARCHS)' \
			-DCMAKE_HIP_COMPILER=clang++-22  \
                        -DHYPRE_ENABLE_ROCSPARSE=ON \
			-DHYPRE_ENABLE_ROCSOLVER=ON \
                        -DHYPRE_ENABLE_ROCBLAS=ON \
			-DHYPRE_ENABLE_ROCRAND=ON \
                        -DHYPRE_ENABLE_UMPIRE=OFF

debian/tests (autopkgtest) also succeeds (at least for test_hypre)
replacing CC=mpicc with CC=hipcc
and adding "-x hip --offload-arch=gfx1201" to CGFLAGS

"-x hip" is key to building zboxloop.c, since HIP is a C++ superset, not
C  (treated as C code it can't compile the templates in zboxloop.c)

Then ./zboxloop can run successfully,
though it is not included in make check.
Technical Details
Message-ID: <NThYu-8tSw-21@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <uPHKO-E5-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Drew Parsons <dparsons@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#882667: hypre: activate GPU support
Date: Wed, 28 Oct 2026 21:00:02 +0100
Message-ID: <NThYu-8tSw-21@gated-at.bofh.it>
References: <uPHKO-E5-3@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <882667@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 28 19:53:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Drew Parsons <dparsons@debian.org>, 882667@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-science-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 882667
X-Debian-Pr-Package: src:hypre
X-Debian-Pr-Source: hypre
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-User: dparsons
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999443
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 27
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 28 Oct 2026 20:50:15 +0100
X-Original-Message-ID: <179321701579.3450043.5918111382479216359.reportbug@gelly>
X-Original-References: <151161269025.21417.14944574802699834492.reportbug@grendel.emerall.com>