[SWDEV-515730] Updated set partition documentation (#151)

Signed-off-by: gabrpham <Gabriel.Pham@amd.com>

[ROCm/amdsmi commit: d5b2763aba]
This commit is contained in:
Pham, Gabriel
2025-03-06 23:16:32 -06:00
committed by GitHub
parent b9bfe3e1c0
commit 14f3a59a66
2 changed files with 6 additions and 4 deletions
@@ -3804,7 +3804,7 @@ except AmdSmiException as e:
### amdsmi_set_gpu_compute_partition
Description: Set the compute partition to the given GPU
Description: Set the compute partition to the given GPU. This function does not allow any concurrent operations. Device must be idle and have no workloads when performing set partition operations.
Input parameters:
@@ -3868,7 +3868,7 @@ except AmdSmiException as e:
### amdsmi_set_gpu_memory_partition
Description: Set the memory partition to the given GPU
Description: Set the memory partition to the given GPU. This function does not allow any concurrent operations. Devices must be idle and have no workloads when performing set partition operations.
Input parameters:
+4 -2
View File
@@ -5338,7 +5338,8 @@ amdsmi_get_gpu_compute_partition(amdsmi_processor_handle processor_handle,
*
* @details Given a processor handle @p processor_handle, a type of compute partition
* @p compute_partition, this function will attempt to update the selected
* device's compute partition setting.
* device's compute partition setting. This function does not allow any concurrent operations.
* Device must be idle and have no workloads when performing set partition operations.
*
* @param[in] processor_handle Device which to query
*
@@ -5412,7 +5413,8 @@ amdsmi_get_gpu_memory_partition(amdsmi_processor_handle processor_handle, char *
*
* @details Given a processor handle @p processor_handle and a type of memory partition
* @p memory_partition, this function will attempt to update the selected
* device's memory partition setting.
* device's memory partition setting. This function does not allow any concurrent operations.
* Device must be idle and have no workloads when performing set partition operations.
*
* @param[in] processor_handle Device which to query
*