OpenCL-CLHPP
OpenCL-CLHPP copied to clipboard
Add error code and description to what() string of exceptions
When building with CL_HPP_ENABLE_EXCEPTIONS enabled, exceptions are thrown when OpenCL calls fail. The string returned by the what() method of the exceptions tends to only contain the entrypoint name. Adding the error code in numeric and text form would be really useful.