kernelHelpers - add error checking and return if failed
kernelHelpers - add error checking and return if failed

KhronosGroup/OpenCL-CTS,KhronosGroup/OpenCL-CTS,KhronosGroup/OpenCL-CTS,KhronosGroup/OpenCL-CTS