Fix and update hw_info
commitfced2b623f0b801c3f8d8cfa346780811d859dfd
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 24 Oct 2017 19:59:45 +0000 (24 21:59 +0200)
committerBerk Hess <hess@kth.se>
Mon, 30 Oct 2017 11:58:34 +0000 (30 12:58 +0100)
tree263b64803d2110d4c564d3d5b7634dcd54181006
parent0f2583248c65b1d95d38c403132e6132f89ff1bf
Fix and update hw_info

Stopped using typedef struct (so later we can put a vector into the
struct).

Managed the memory using a unique_ptr, and made the interface reflect
that it is a file static, rather than something that is owned by
e.g. the runner.

Amended docs to clarify the sense of "global."

Change-Id: I1ce9bc42e03668498051b59aaeeb9e50a9f6f762
src/gromacs/ewald/tests/testhardwarecontexts.cpp
src/gromacs/hardware/CMakeLists.txt
src/gromacs/hardware/detecthardware.cpp
src/gromacs/hardware/detecthardware.h
src/gromacs/hardware/gpu_hw_info.cpp
src/gromacs/hardware/hw_info.h
src/programs/mdrun/runner.cpp