opencl 例子，来自cuda4.2