about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGavin Zhao <git@gzgz.dev>2024-04-25 11:45:45 -0400
committerGavin Zhao <git@gzgz.dev>2024-04-25 11:45:45 -0400
commitc3848d59c9506ce6e54e6c1d52670a6191e427ea (patch)
treebfff5de8f114a173d0d495c22e3efe758c30527c
parent32b9f37d57826364db0bc579ee75fa82af1fd623 (diff)
rocmPackages.rocblas: add comments about why some GPU archs are not built
Signed-off-by: Gavin Zhao <git@gzgz.dev>
-rw-r--r--pkgs/development/rocm-modules/6/rocblas/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/rocm-modules/6/rocblas/default.nix b/pkgs/development/rocm-modules/6/rocblas/default.nix
index 6bfb765322631..f93cceddd68af 100644
--- a/pkgs/development/rocm-modules/6/rocblas/default.nix
+++ b/pkgs/development/rocm-modules/6/rocblas/default.nix
@@ -29,6 +29,14 @@
 , tensileSepArch ? false
 , tensileLazyLib ? false
 , tensileLibFormat ? "msgpack"
+# `gfx940`, `gfx941` are not present in this list because they are early
+# engineering samples, and all final MI300 hardware are `gfx942`:
+# https://github.com/NixOS/nixpkgs/pull/298388#issuecomment-2032791130
+#
+# `gfx1012` is not present in this list because the ISA compatibility patches
+# would force all `gfx101*` GPUs to run as `gfx1010`, so `gfx101*` GPUs will
+# always try to use `gfx1010` code objects, hence building for `gfx1012` is
+# useless: https://github.com/NixOS/nixpkgs/pull/298388#issuecomment-2076327152
 , gpuTargets ? [ "gfx900;gfx906:xnack-;gfx908:xnack-;gfx90a:xnack+;gfx90a:xnack-;gfx942;gfx1010;gfx1030;gfx1100;gfx1101;gfx1102" ]
 }: