Set active device when the device stream manager is initialized
commitb3074a40bc14158c7cae4fcf859c8a424d8fc5c2
authorArtem Zhmurov <zhmurov@gmail.com>
Sun, 20 Sep 2020 09:18:16 +0000 (20 09:18 +0000)
committerPaul Bauer <paul.bauer.q@gmail.com>
Sun, 20 Sep 2020 09:18:16 +0000 (20 09:18 +0000)
treec82183f054681fa0bdb503bda83222d14e449256
parent987e93f3d2fa217d50e0db7c6a185b900c59b7b6
Set active device when the device stream manager is initialized

Replace the direct CUDA API call in PME by the wrapper called
when the device context and streams are created.
src/gromacs/ewald/pme_gpu_internal.cpp
src/testutils/test_hardware_environment.cpp