Commit sample from : OpenCL Quick Reference