kernel can't work


I have write a test file for OpenCL,but i have some problem
that is i don’t know the kernel file have work,or not

please help me!

ps. the file of kernel i can’t upload .cl,so i upload .cppfile,you can change to .cl after you download
kernel.cpp (215 Bytes)
test.cpp (6.81 KB)