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
This commit is contained in:
committed by
Naveen Krishna Chatradhi
parent
6e6176b04a
commit
3fec3b4b4a
@@ -119,9 +119,9 @@ int main() {
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user