rocm fix
This commit is contained in:
parent
1305b9350d
commit
b4eb9f00ff
|
@ -48,4 +48,20 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.supportedFilesystems."fuse.sshfs" = true;
|
boot.supportedFilesystems."fuse.sshfs" = true;
|
||||||
|
|
||||||
|
# for blender and other hip stuff
|
||||||
|
# https://wiki.nixos.org/wiki/AMD_GPU#HIP
|
||||||
|
systemd.tmpfiles.rules =
|
||||||
|
let
|
||||||
|
rocmEnv = pkgs.symlinkJoin {
|
||||||
|
name = "rocm-combined";
|
||||||
|
paths = with pkgs.rocmPackages; [
|
||||||
|
rocblas
|
||||||
|
hipblas
|
||||||
|
clr
|
||||||
|
];
|
||||||
|
};
|
||||||
|
in [
|
||||||
|
"L+ /opt/rocm - - - - ${rocmEnv}"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user