🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Drew Parsons Wed, 28 Oct 2026 20:00
Bug#882667: hypre: activate GPU support
#2528
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads