~ruther/guix-local

ref: next-master guix-local/gnu/packages/patches/rocm-bandwidth-test-take-default-gpus-from-environment.patch -rw-r--r-- 793 bytes
b989e013 — Andy Tai gnu: koboldcpp: Update to 1.106.2. 30 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --git a/plugins/tb/transferbench/CMakeLists.txt b/plugins/tb/transferbench/CMakeLists.txt
index 8e4588e..1d0e12f 100644
--- a/plugins/tb/transferbench/CMakeLists.txt
+++ b/plugins/tb/transferbench/CMakeLists.txt
@@ -61,20 +61,7 @@ option(ENABLE_NIC_EXEC             "Enable RDMA NIC Executor in TransferBench"
 
 # Default GPU architectures to build
 #==================================================================================================
-set(DEFAULT_GPUS
-      gfx906
-      gfx908
-      gfx90a
-      gfx942
-      gfx950
-      gfx1030
-      gfx1100
-      gfx1101
-      gfx1102
-      gfx1150
-      gfx1151
-      gfx1200
-      gfx1201)
+set(DEFAULT_GPUS ENV{AMDGPU_TARGETS})
 
 # Build only for local GPU architecture
 if (BUILD_LOCAL_GPU_TARGET_ONLY)
-- 
2.51.0