From 157533a28bbac157456a675bb04f25cf2e19bcb9 Mon Sep 17 00:00:00 2001 From: lyndonli Date: Mon, 24 Mar 2025 18:10:17 +0800 Subject: [PATCH] Remove WSL checks for displaying UUID and BDFID Signed-off-by: lyndonli [ROCm/rocminfo commit: 38e9f399a2f061dc49fb97e9e92079155824c25c] --- projects/rocminfo/rocminfo.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/projects/rocminfo/rocminfo.cc b/projects/rocminfo/rocminfo.cc index af495e5d92..b472377a33 100755 --- a/projects/rocminfo/rocminfo.cc +++ b/projects/rocminfo/rocminfo.cc @@ -590,8 +590,7 @@ AcquireAgentInfo(hsa_agent_t agent, agent_info_t *agent_i) { static void DisplayAgentInfo(agent_info_t *agent_i) { printLabelStr("Name:", agent_i->name, 1); - if (!wsl_env || HSA_DEVICE_TYPE_CPU == agent_i->device_type) - printLabelStr("Uuid:", agent_i->uuid, 1); + printLabelStr("Uuid:", agent_i->uuid, 1); printLabelStr("Marketing Name:", agent_i->device_mkt_name, 1); printLabelStr("Vendor Name:", agent_i->vendor_name, 1); @@ -673,8 +672,7 @@ static void DisplayAgentInfo(agent_info_t *agent_i) { printLabelStr("Cacheline Size:", int_to_string(agent_i->cacheline_size), 1); if (!wsl_env || HSA_DEVICE_TYPE_GPU == agent_i->device_type) printLabelInt("Max Clock Freq. (MHz):", agent_i->max_clock_freq, 1); - if (!wsl_env) - printLabelInt("BDFID:", agent_i->bdf_id, 1); + printLabelInt("BDFID:", agent_i->bdf_id, 1); printLabelInt("Internal Node ID:", agent_i->internal_node_id, 1); printLabelInt("Compute Unit:", agent_i->compute_unit, 1); printLabelInt("SIMDs per CU:", agent_i->simds_per_cu, 1);