Cleaning booleans in NBNXM in OpenCL build
authorArtem Zhmurov <zhmurov@gmail.com>
Thu, 30 Jan 2020 12:56:17 +0000 (13:56 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Thu, 30 Jan 2020 15:27:01 +0000 (16:27 +0100)
commit8bfaa3e31ea3cb03bd829cf487fe4ca9524f69a0
treea4bbfb99aaf7eeea4239463c40dae3e1281fceeb
parente02a6618115e5ccf66df68dd0d12d7542c109219
Cleaning booleans in NBNXM in OpenCL build

Patch 93f2f30017595e419d25c5dd6fa6a8b320a1858f changed some of the
booleans types from cl_bool to bool, but not changed how these
variables were used in some places. This caused the compiler to be
confused with the data types, trying to convert bool to int or
to cl_bool.

Change-Id: Ib8017bbdac804f3946e65698df5882c669250044
src/gromacs/nbnxm/cuda/nbnxm_cuda_data_mgmt.cu
src/gromacs/nbnxm/gpu_common.h
src/gromacs/nbnxm/gpu_data_mgmt.h
src/gromacs/nbnxm/opencl/nbnxm_ocl.cpp
src/gromacs/nbnxm/opencl/nbnxm_ocl_data_mgmt.cpp