Renamed API amdsmi_dev_get_pci_id to
amdsmi_get_gpu_pci_id
grep -rli 'amdsmi_dev_get_pci_id' * | xargs -i@ sed -i
's/amdsmi_dev_get_pci_id/amdsmi_get_gpu_pci_id/g' @
Change-Id: If5454038cf582bdf3c657f466d0f6eb1dd3c14e0
[ROCm/amdsmi commit: 55ddbdc67e]
Šī revīzija ir iekļauta:
1 vecāks
3c3dc03704
revīzija
6bd013ba58
10 files changed
+21
-21
No files matched your search
@@ -1303,7 +1303,7 @@ amdsmi_status_t amdsmi_get_processor_handle_from_bdf(amdsmi_bdf_t bdf, amdsmi_pr
|
||||
* @p id. This ID is an identification of the type of device, so calling this
|
||||
* function for different devices will give the same value if they are kind
|
||||
* of device. Consequently, this function should not be used to distinguish
|
||||
* one device from another. amdsmi_dev_get_pci_id() should be used to get a
|
||||
* one device from another. amdsmi_get_gpu_pci_id() should be used to get a
|
||||
* unique identifier.
|
||||
*
|
||||
* @param[in] processor_handle a device handle
|
||||
@@ -1508,7 +1508,7 @@ amdsmi_get_gpu_pci_bandwidth(amdsmi_processor_handle processor_handle, amdsmi_pc
|
||||
*
|
||||
* @return ::amdsmi_status_t | ::AMDSMI_STATUS_SUCCESS on success, non-zero on fail
|
||||
*/
|
||||
amdsmi_status_t amdsmi_dev_get_pci_id(amdsmi_processor_handle processor_handle, uint64_t *bdfid);
|
||||
amdsmi_status_t amdsmi_get_gpu_pci_id(amdsmi_processor_handle processor_handle, uint64_t *bdfid);
|
||||
|
||||
/**
|
||||
* @brief Get the NUMA node associated with a device
|
||||
|
||||
Reference in new issue
Block a user