[SWDEV-567099] Updated 'amdsmi list --cpu all' command (#2519)
Signed-off-by: Saka, Sitharam Murthy <SitharamMurthy.Saka@amd.com>
This commit is contained in:
committato da
GitHub
parent
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:
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user