Skip to content

Commit

Permalink
AMD: Fix experimental/supported status output in GPU_Stats
Browse files Browse the repository at this point in the history
  • Loading branch information
torzdf committed Aug 5, 2019
1 parent 45424d4 commit 275be7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plaidml_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def names(self):
return ["{} - {} ({})".format(
device.get("vendor", "unknown"),
device.get("name", "unknown"),
"supported" if device in self.supported_devices else "experimental")
for device in self.device_details]
"supported" if idx in self.supported_indices else "experimental")
for idx, device in enumerate(self.device_details)]

@property
def supported_indices(self):
Expand Down

0 comments on commit 275be7a

Please sign in to comment.