mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 09:47:52 +00:00
[Hardware/AMD] move ROCm specific config in dedicated file
Add option to effortlessly add corresponding HSA_OVERRIDE_GFX_VERSION to make HIP programs work despite the GPU not being explicitely supported.
This commit is contained in:
parent
bc32a4f954
commit
30d16ce34d
3 changed files with 120 additions and 33 deletions
|
|
@ -23,6 +23,7 @@ in {
|
|||
./cpu.nix
|
||||
./amdgpu.nix
|
||||
./radeon.nix
|
||||
./rocm.nix
|
||||
];
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue