rocmPackages: add gfx1151 to gpuTargets (#440359)

Changed files
+11 -3
pkgs
development
python-modules
torch
source
rocm-modules
+7 -3
pkgs/development/python-modules/torch/source/default.nix
···
else if cudaSupport then
gpuArchWarner supportedCudaCapabilities unsupportedCudaCapabilities
else if rocmSupport then
-
# Remove RDNA1 gfx101x archs from default ROCm support list to avoid
-
# use of undeclared identifier 'CK_BUFFER_RESOURCE_3RD_DWORD'
-
# TODO: Retest after ROCm 6.4 or torch 2.8
lib.lists.subtractLists [
"gfx1010"
"gfx1012"
] (rocmPackages.clr.localGpuTargets or rocmPackages.clr.gpuTargets)
else
throw "No GPU targets specified"
···
else if cudaSupport then
gpuArchWarner supportedCudaCapabilities unsupportedCudaCapabilities
else if rocmSupport then
lib.lists.subtractLists [
+
# Remove RDNA1 gfx101x archs from default ROCm support list to avoid
+
# use of undeclared identifier 'CK_BUFFER_RESOURCE_3RD_DWORD'
+
# TODO: Retest after ROCm 6.4 or torch 2.8
"gfx1010"
"gfx1012"
+
+
# Strix Halo seems to be broken as well, see
+
# https://github.com/NixOS/nixpkgs/pull/440359.
+
"gfx1151"
] (rocmPackages.clr.localGpuTargets or rocmPackages.clr.gpuTargets)
else
throw "No GPU targets specified"
+1
pkgs/development/rocm-modules/6/clr/default.nix
···
"1100"
"1101"
"1102"
"1200" # RX 9070
"1201" # RX 9070 XT
] (target: "gfx${target}");
···
"1100"
"1101"
"1102"
+
"1151" # Strix Halo
"1200" # RX 9070
"1201" # RX 9070 XT
] (target: "gfx${target}");
+1
pkgs/development/rocm-modules/6/default.nix
···
"gfx1100"
"gfx1101"
"gfx1102"
];
gfx12 = scopeForArches [
"gfx1200"
···
"gfx1100"
"gfx1101"
"gfx1102"
+
"gfx1151"
];
gfx12 = scopeForArches [
"gfx1200"
+1
pkgs/development/rocm-modules/6/rocblas/default.nix
···
"gfx1100"
"gfx1101"
"gfx1102"
"gfx1200"
"gfx1201"
]
···
"gfx1100"
"gfx1101"
"gfx1102"
+
"gfx1151"
"gfx1200"
"gfx1201"
]
+1
pkgs/development/rocm-modules/6/rocsolver/default.nix
···
"gfx1100"
"gfx1101"
"gfx1102"
"gfx1200"
"gfx1201"
]
···
"gfx1100"
"gfx1101"
"gfx1102"
+
"gfx1151"
"gfx1200"
"gfx1201"
]