opencl host code small fixes