mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware/AMD/ROCm] temporarily disable autoDetectGPU
This commit is contained in:
parent
1312b582aa
commit
5ec0b127ff
1 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ let
|
|||
gxf1036 = "10.3.0";
|
||||
};
|
||||
|
||||
autoDetectGPU = pkgs: pkgs.callPackage (
|
||||
/*autoDetectGPU = pkgs: pkgs.callPackage (
|
||||
{ runCommandLocal,
|
||||
gnugrep,
|
||||
rocmPackages,
|
||||
|
|
@ -34,7 +34,7 @@ let
|
|||
rocminfo &>/dev/stderr
|
||||
rocminfo | grep --only-matching --perl-regexp '^\s*Name:\s+\Kgfx[0-9a-f]+' | tee $out/output
|
||||
''
|
||||
) { };
|
||||
) { };*/
|
||||
|
||||
gfxToCompatible = gfxISA: if (hasAttr gfxISA gfxToCompatibleMap) then (getAttr gfxISA gfxToCompatibleMap) else "";
|
||||
in {
|
||||
|
|
@ -91,7 +91,7 @@ in {
|
|||
magma = final.magma-hip;
|
||||
magma-cpu = prev.magma;
|
||||
|
||||
autoDetectGPU = autoDetectGPU final;
|
||||
#autoDetectGPU = autoDetectGPU final;
|
||||
|
||||
rocmPackages = prev.rocmPackages // rec {
|
||||
rocmlir = prev.rocmPackages.rocmlir.overrideAttrs (finalAttrs: previousAttrs: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue