The first version which was changed from the cuda version. I modified the key words to OpenCL's key words. Not all the key words are supported.