Added amd-smi partition as preliminary command.

new command includes following arguments:
  - current - display the current partition information for the selected
    gpu(s)
  - memory - display memory partition information for the selected
    gpu(s)
  - accelerator - display accelerator partition information for the
    selected gpu(s)
additional functionality will be added as more partition APIs are added.

Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: Ica86160139002ef5213d6d4b0e390670aeef01c8
This commit is contained in:
gabrpham
2024-09-25 22:44:38 -05:00
parent 2c8e2060cb
commit 4e2fc2d604
6 changed files with 294 additions and 45 deletions
+1 -1
View File
@@ -2788,7 +2788,7 @@ def amdsmi_get_gpu_accelerator_partition_profile(
"profile_type" : profile.profile_type,
"num_partitions" : profile.num_partitions,
"profile_index" : profile.profile_index,
"memory_caps" : "N/A",
"memory_caps" : profile.memory_caps,
"num_resources" : profile.num_resources,
"resources" : "N/A"
}