Allow creating mock HardwareTopology objects
commit2a98e467fa7d8cceda4fb6976a95cbf72bd52368
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 14 May 2016 04:06:59 +0000 (14 07:06 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Sat, 21 May 2016 15:17:11 +0000 (21 17:17 +0200)
tree4d1a94fe53d1e47d53aa00dd1e759cc652d6eddb
parent7ca1a0944dc0c45b1b452e8f5115d00ff31cee33
Allow creating mock HardwareTopology objects

Make it possible to create basic hardware topologies for testing,
instead of detecting the actual physical topology.

Change-Id: Icf6aef48ccd8543c941d00a2b6a01e2eb301cd1f
src/gromacs/hardware/hardwaretopology.cpp
src/gromacs/hardware/hardwaretopology.h