Skip to content

Commit 3700cae

Browse files
committed
arch: Improve GPU autodetection
1 parent ab624e6 commit 3700cae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devito/arch/archinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def homogenise_gpus(gpu_infos):
192192

193193
warning('Different models of graphics cards detected')
194194

195-
return {}
195+
return {'ncards': len(gpu_infos)}
196196

197197
# Parse textual gpu info into a dict
198198

0 commit comments

Comments
 (0)