Support DUO cards for reports generation
This commit is contained in:
@@ -154,9 +154,13 @@ def deviceInfoAsString(device_info):
|
||||
"""
|
||||
device_type = device_info['device_type']
|
||||
compute_devices = device_info['compute_devices']
|
||||
if len(compute_devices) == 1:
|
||||
num_devices = len(compute_devices)
|
||||
if num_devices == 1:
|
||||
return compute_devices[0]
|
||||
raise Exception("Needs implementation")
|
||||
elif num_devices == 2:
|
||||
if compute_devices[0] == compute_devices[1]:
|
||||
return compute_devices[0] + " DUO"
|
||||
raise Exception("Needs implementation")
|
||||
|
||||
########################################
|
||||
# Graphs manipulation.
|
||||
|
Reference in New Issue
Block a user