magma: build against ROCm 5.7

This commit is contained in:
Martin Schwaighofer 2024-03-02 18:38:18 +01:00
parent e908ad7d01
commit 68e19d4242

View File

@ -14,7 +14,7 @@
, fetchurl
, gfortran
, gpuTargets ? [ ] # Non-CUDA targets, that is HIP
, rocmPackages
, rocmPackages_5
, lapack
, lib
, libpthreadstubs
@ -44,6 +44,9 @@ let
inherit (effectiveCudaPackages) cudaAtLeast cudaFlags cudaOlder;
inherit (cudaFlags) cudaCapabilities;
# move to newer ROCm version once supported
rocmPackages = rocmPackages_5;
# NOTE: The lists.subtractLists function is perhaps a bit unintuitive. It subtracts the elements
# of the first list *from* the second list. That means:
# lists.subtractLists a b = b - a