Skip to content

Commit

Permalink
arch: Relax numa_domains
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioLuporini committed Dec 19, 2024
1 parent 34cab9d commit ab90464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devito/arch/archinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ def simd_items_per_reg(self, dtype):
def numa_domains(self):
try:
return int(lscpu()['NUMA node(s)'])
except KeyError:
except (ValueError, TypeError, KeyError):
warning("NUMA domain count autodetection failed")
return 1

Expand Down

0 comments on commit ab90464

Please sign in to comment.