opencl

modified opencl code to use c style functions and use only supported
functions on kanipc ( ->incomplete buffer usage)