diff --git a/devito/arch/archinfo.py b/devito/arch/archinfo.py index 364e402a11..ce17ecfc13 100644 --- a/devito/arch/archinfo.py +++ b/devito/arch/archinfo.py @@ -721,6 +721,10 @@ def numa_domains(self): warning("NUMA domain count autodetection failed") return 1 + @property + def cores_physical_per_numa_domain(self): + return self.cores_physical // self.numa_domains + @cached_property def memtotal(self): return psutil.virtual_memory().total