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
@@ -263,7 +263,7 @@ class Formatter:
|
||||
print("{}{:25} :{}".format(space, self.style.background(key), str(value)))
|
||||
|
||||
def print_handle(self, handle):
|
||||
bdf = smi_api.amdsmi_get_device_bdf(handle)
|
||||
bdf = smi_api.amdsmi_get_gpu_device_bdf(handle)
|
||||
print("{:25} :{}".format(self.style.background("BDF"), str(bdf)))
|
||||
|
||||
def print_usage(self):
|
||||
|
||||
Reference in New Issue
Block a user