Detect AMD SMT topology
commitb9c04931de7709424b2931720b5bb6952c005780
authorBerk Hess <hess@kth.se>
Fri, 23 Feb 2018 14:22:50 +0000 (23 15:22 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 1 Mar 2018 21:34:14 +0000 (1 22:34 +0100)
tree2d9a567e34b3e492d60dbafc59b07a5125245550
parent6358ce7313d40e682e1324cf38ba9974ab082df4
Detect AMD SMT topology

On AMD Zen the cpuinfo code detected hyperthreading but put all
threads on different cores in the topology. Now the correct
topology is detected using extended APIC.
Also disabled topology detection for non-AMD, non-x2APIC x86.

Fixes #2388

Change-Id: I194f3e09e669c20d1d62355a36be062e6cce264e
docs/release-notes/2018/2018.1.rst
src/gromacs/hardware/cpuinfo.cpp
src/gromacs/hardware/cpuinfo.h