]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite/lib/rocm: Drop hip_devices_support_precise_memory
authorLancelot SIX <lancelot.six@amd.com>
Fri, 21 Mar 2025 11:23:24 +0000 (11:23 +0000)
committerLancelot SIX <lancelot.six@amd.com>
Fri, 21 Mar 2025 22:50:38 +0000 (22:50 +0000)
Remove hip_devices_support_precise_memory as this is not used anymore.

Change-Id: If5e19cf81f8b8778ee11b27d99b8488562804967
Approved-by: Pedro Alves <pedro@palves.net>
gdb/testsuite/lib/rocm.exp

index 3eb51dbb52f2335fb070d0a47e35f8656fa2d986..5164f1e1c88367bfcd984425ce3dae5536221c63 100644 (file)
@@ -176,22 +176,3 @@ proc hip_devices_support_debug_multi_process {} {
     }
     return 1
 }
-
-# Return true if all the devices on the host support precise memory.
-
-proc hip_devices_support_precise_memory {} {
-    set unsupported_targets \
-       {gfx900 gfx906 gfx908 gfx1010 gfx1011 gfx1012 gfx1030 gfx1031 gfx1032}
-
-    set targets [find_amdgpu_devices]
-    if { [llength $targets] == 0 } {
-       return 0
-    }
-
-    foreach target $targets {
-       if { [lsearch -exact $unsupported_targets $target] != -1 } {
-           return 0
-       }
-    }
-    return 1
-}