Renamed API amdsmi_dev_set_pci_bandwidth to
amdsmi_set_gpu_pci_bandwidth
grep -rli 'amdsmi_dev_set_pci_bandwidth' * | xargs -i@ sed -i
's/amdsmi_dev_set_pci_bandwidth/amdsmi_set_gpu_pci_bandwidth/g' @
Change-Id: Id4312cfe5fddb63c42c4c6ca0a9a1d94b83f7164
[ROCm/amdsmi commit: 24c0005e15]
This commit is contained in:
committed by
Naveen Krishna Chatradhi
parent
a3c4c55c33
commit
a8d932a9bb
@@ -1716,7 +1716,7 @@ def amdsmi_get_func_iter_value(
|
||||
}
|
||||
|
||||
|
||||
def amdsmi_dev_set_pci_bandwidth(
|
||||
def amdsmi_set_gpu_pci_bandwidth(
|
||||
processor_handle: amdsmi_wrapper.amdsmi_processor_handle, bitmask: int
|
||||
) -> None:
|
||||
if not isinstance(processor_handle, amdsmi_wrapper.amdsmi_processor_handle):
|
||||
@@ -1728,7 +1728,7 @@ def amdsmi_dev_set_pci_bandwidth(
|
||||
raise AmdSmiParameterException(bitmask, int)
|
||||
|
||||
_check_res(
|
||||
amdsmi_wrapper. amdsmi_dev_set_pci_bandwidth(
|
||||
amdsmi_wrapper. amdsmi_set_gpu_pci_bandwidth(
|
||||
processor_handle, ctypes.c_uint64(bitmask)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user