Use common device context header for OpenCL
commit3a0dd7256b560d27650f2e97edc3109063265ba6
authorArtem Zhmurov <zhmurov@gmail.com>
Thu, 10 Sep 2020 13:49:23 +0000 (10 13:49 +0000)
committerJoe Jordan <ejjordan12@gmail.com>
Thu, 10 Sep 2020 13:49:23 +0000 (10 13:49 +0000)
tree5e8ed4482150c9714518b8b84563fecb7e160a4c
parent1621528d15728b59397cf0b65cc7ebae2fbe1f81
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.
src/gromacs/gpu_utils/CMakeLists.txt
src/gromacs/gpu_utils/device_context.cpp [moved from src/gromacs/gpu_utils/device_context_ocl.h with 59% similarity]
src/gromacs/gpu_utils/device_context.h
src/gromacs/gpu_utils/device_context_ocl.cpp
src/gromacs/gpu_utils/device_stream_ocl.cpp