Use common device context header for OpenCL
commit764eb4c56a11c362d996b2830b349f8fb0cca749
authorArtem Zhmurov <zhmurov@gmail.com>
Mon, 14 Sep 2020 09:46:19 +0000 (14 09:46 +0000)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 14 Sep 2020 09:46:19 +0000 (14 09:46 +0000)
tree94dd88df212b9f7ae273eb87191f01b5c0a5df16
parent41031eecd750d91cd186e4041dcaa78876314b12
Use common device context header for OpenCL

This moves the OpenCL specific definition into under macro in the main header.
Makes device stream and context definitions more consistent.
16 files changed:
src/gromacs/ewald/tests/CMakeLists.txt
src/gromacs/ewald/tests/pmebsplinetest.cpp
src/gromacs/ewald/tests/pmegathertest.cpp
src/gromacs/ewald/tests/pmesolvetest.cpp
src/gromacs/ewald/tests/pmesplinespreadtest.cpp
src/gromacs/ewald/tests/pmetestcommon.cpp
src/gromacs/ewald/tests/pmetestcommon.h
src/programs/mdrun/tests/pmetest.cpp
src/testutils/CMakeLists.txt
src/testutils/test_device.cpp [moved from src/gromacs/ewald/tests/testhardwarecontext.cpp with 57% similarity]
src/testutils/test_device.h [moved from src/gromacs/ewald/tests/testhardwarecontext.h with 56% similarity]
src/testutils/test_hardware_environment.cpp [moved from src/gromacs/ewald/tests/testhardwarecontexts.cpp with 74% similarity]
src/testutils/test_hardware_environment.h [moved from src/gromacs/ewald/tests/testhardwarecontexts.h with 82% similarity]
src/testutils/testinit.cpp
src/testutils/testinit.h
src/testutils/unittest_main.cpp