OpenCl and host C code snippet