From 3f27dcc1ac54e62f2cf893431463322aba5a2b25 Mon Sep 17 00:00:00 2001 From: Sreekant Somasekharan Date: Wed, 3 Nov 2021 17:44:46 -0400 Subject: [PATCH] Modify bool variable to true in if condition of src=dst Change-Id: Ie2024b3a6ad68e48384bb3472fe8785bcd643665 --- tests/rocm_smi_test/functional/hw_topology_read.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rocm_smi_test/functional/hw_topology_read.cc b/tests/rocm_smi_test/functional/hw_topology_read.cc index 7ee37561c0..d6329e7474 100755 --- a/tests/rocm_smi_test/functional/hw_topology_read.cc +++ b/tests/rocm_smi_test/functional/hw_topology_read.cc @@ -136,7 +136,7 @@ void TestHWTopologyRead::Run(void) { gpu_links[dv_ind_src][dv_ind_dst].type = "X"; gpu_links[dv_ind_src][dv_ind_dst].hops = 0; gpu_links[dv_ind_src][dv_ind_dst].weight = 0; - gpu_links[dv_ind_src][dv_ind_dst].accessible = false; + gpu_links[dv_ind_src][dv_ind_dst].accessible = true; } else { RSMI_IO_LINK_TYPE type; err = rsmi_topo_get_link_type(dv_ind_src, dv_ind_dst,