aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorLancelot SIX <lancelot.six@amd.com>2025-03-21 11:23:24 +0000
committerLancelot SIX <lancelot.six@amd.com>2025-03-21 22:50:38 +0000
commitda72ce7ff1bf4582214360439fe5a46e11be5a15 (patch)
tree0999abd1681788d09466906108c94ffb0670f730 /gdb/testsuite
parentefcfb26ae61fc68a380417ac717f9590073182e9 (diff)
downloadbinutils-da72ce7ff1bf4582214360439fe5a46e11be5a15.zip
binutils-da72ce7ff1bf4582214360439fe5a46e11be5a15.tar.gz
binutils-da72ce7ff1bf4582214360439fe5a46e11be5a15.tar.bz2
gdb/testsuite/lib/rocm: Drop hip_devices_support_precise_memory
Remove hip_devices_support_precise_memory as this is not used anymore. Change-Id: If5e19cf81f8b8778ee11b27d99b8488562804967 Approved-by: Pedro Alves <pedro@palves.net>
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/lib/rocm.exp19
1 files changed, 0 insertions, 19 deletions
diff --git a/gdb/testsuite/lib/rocm.exp b/gdb/testsuite/lib/rocm.exp
index 3eb51db..5164f1e 100644
--- a/gdb/testsuite/lib/rocm.exp
+++ b/gdb/testsuite/lib/rocm.exp
@@ -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
-}