OpenCL-CLHPP icon indicating copy to clipboard operation
OpenCL-CLHPP copied to clipboard

Add error code and description to what() string of exceptions

Open kpet opened this issue 6 years ago • 0 comments

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.

kpet avatar Oct 15 '19 16:10 kpet