Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: Revamp exception hierarchy #2500

Merged
merged 11 commits into from
Dec 23, 2024
Prev Previous commit
Next Next commit
arch: Relax numa_domains
  • Loading branch information
FabioLuporini committed Dec 23, 2024
commit 2c7be2f32f7ab5121148c3014ab835cd8cf5e5f7
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