Renamed API amdsmi_get_device_bdf to amdsmi_get_gpu_device_bdf

grep -rli 'amdsmi_get_device_bdf' * | xargs -i@ sed -i
's/amdsmi_get_device_bdf/amdsmi_get_gpu_device_bdf/g' @

Change-Id: I3db605f8bdb0a83b1f0f7f300a663c47563ba651


[ROCm/amdsmi commit: 3fec3b4b4a]
This commit is contained in:
Deepak Mewar
2023-02-25 06:38:47 -05:00
committed by Naveen Krishna Chatradhi
parent 320b708b6e
commit fc8df2885e
9 changed files with 17 additions and 17 deletions
@@ -268,9 +268,9 @@ int main() {
// Get BDF info
amdsmi_bdf_t bdf = {};
ret = amdsmi_get_device_bdf(processor_handles[j], &bdf);
ret = amdsmi_get_gpu_device_bdf(processor_handles[j], &bdf);
CHK_AMDSMI_RET(ret)
printf(" Output of amdsmi_get_device_bdf:\n");
printf(" Output of amdsmi_get_gpu_device_bdf:\n");
printf("\tDevice[%d] BDF %04lx:%02x:%02x.%d\n\n", i,
bdf.domain_number, bdf.bus_number, bdf.device_number,
bdf.function_number);