dev: fixed an issues with CMP170 #6
|
@ -104,7 +104,7 @@ def init(gpu_specs_file=None, allow_hive_binaries=True):
|
||||||
print(pynvml.nvmlDeviceGetName(gpu_handle))
|
print(pynvml.nvmlDeviceGetName(gpu_handle))
|
||||||
print("device_id")
|
print("device_id")
|
||||||
pci_info = pynvml.nvmlDeviceGetPciInfo(gpu_handle)
|
pci_info = pynvml.nvmlDeviceGetPciInfo(gpu_handle)
|
||||||
print(pci_info.pciDeviceId)
|
print(hex(pci_info.pciDeviceId))
|
||||||
|
|
||||||
|
|
||||||
gpu_name_list.append(pynvml.nvmlDeviceGetName(gpu_handle))
|
gpu_name_list.append(pynvml.nvmlDeviceGetName(gpu_handle))
|
||||||
|
|
Loading…
Reference in New Issue