Added a missing device_name

This commit is contained in:
Marc-Andre Ferland 2022-10-29 17:47:45 -04:00
parent b7a663ed20
commit 6229cdb1ba

View File

@ -183,6 +183,7 @@ def device_init(device_selection=None):
return
print('WARNING: No compatible GPU found. Using the CPU, but this will be very slow!')
thread_data.device = 'cpu'
thread_data.device_name = get_processor_name()
def is_first_cuda_device(device):
if device is None: return False