[SWDEV-567099] Updated 'amdsmi list --cpu all' command (#2519)

Signed-off-by: Saka, Sitharam Murthy <SitharamMurthy.Saka@amd.com>
Dieser Commit ist enthalten in:
SakaSitharammurthy
2026-01-20 02:26:59 +05:30
committet von GitHub
Ursprung 0254181f42
Commit 1c5aa2d4e7
@@ -226,6 +226,12 @@ class AMDSMICommands():
# Set args.* to passed in arguments
if gpu:
args.gpu = gpu
cpu_attributes = ["cpu"]
for attr in cpu_attributes:
if hasattr(args, 'cpu') and getattr(args, 'cpu'):
print("N/A")
return
# Handle No GPU passed
if args.gpu == None: