Skip to content

Commit 3f455c1

Browse files
Merge pull request #2614 from devitocodes/tweak-gpuinfo
arch: Improve GPU autodetection
2 parents ab624e6 + 3700cae commit 3f455c1

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)