Update treatment of GPU compatibility data structure
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 25 Oct 2017 09:45:32 +0000 (11:45 +0200)
committerAleksei Iupinov <a.yupinov@gmail.com>
Tue, 31 Oct 2017 16:33:05 +0000 (17:33 +0100)
commit48620e5ef3e62b43ed618e9ceb1f49d4bf41913b
tree41bae990ac077b665d3d35308d26cb39b499e3e2
parent1deb8d64fb9a2745080e5a1f69e97cbc06cbc9b4
Update treatment of GPU compatibility data structure

Now we only construct the vector of compatible GPUs once per mdrun,
and are less coupled to hw_info and gpu_info structs.

Change-Id: I181f0486d0ea1670de7a85046c94c1fef83dce17
src/gromacs/ewald/tests/testhardwarecontexts.cpp
src/gromacs/gpu_utils/gpu_utils.cpp
src/gromacs/gpu_utils/gpu_utils.cu
src/gromacs/gpu_utils/gpu_utils.h
src/gromacs/gpu_utils/gpu_utils_ocl.cpp
src/gromacs/hardware/detecthardware.cpp
src/gromacs/hardware/hw_info.h
src/gromacs/taskassignment/hardwareassign.cpp
src/gromacs/taskassignment/hardwareassign.h
src/programs/mdrun/runner.cpp