Bug#882667: hypre: CUDA support: hacks impeded by -W flags
Drew Parsons
dparsons at debian.org
Wed Sep 23 13:59:35 BST 2026
Source: hypre
Followup-For: Bug #882667
Following up this bug for GPU support via HIP (ROCm) since CUDA is non-free.
To be activated through -DHYPRE_ENABLE_HIP=ON and related options.
But it needs the GPU to be specified for a general build.
(i.e. when not building for a local GPU).
Then this is a problem:
-- CMAKE_HIP_ARCHITECTURES is explicitly set to: gfx90a,gfx906,gfx908,gfx942,gfx950,gfx1100,gfx1101,gfx1151,gfx1201
CMake Error at config/cmake/HYPRE_SetupHIPToolkit.cmake:141 (message):
HYPRE does not support building a single binary for mixed HIP
architectures: found both gfx9 (CDNA) and gfx10+ (RDNA) in
CMAKE_HIP_ARCHITECTURES='gfx90a,gfx906,gfx908,gfx942,gfx950,gfx1100,gfx1101,gfx1151,gfx1201'.
Please specify a single architecture via -DCMAKE_HIP_ARCHITECTURES=<gfx-id>
(e.g., gfx90a or gfx1100) and build separate binaries for each architecture
family.
Call Stack (most recent call first):
config/cmake/HYPRE_SetupGPUToolkit.cmake:72 (include)
CMakeLists.txt:449 (include)
More information about the debian-science-maintainers
mailing list