March 1st, 2013, 12:49 AM
This is all pretty interesting, the finer points of C++ compilers. I'm just trying to be as responsible as possible in catching errors. I've tried to contain the damage the user can do, but there...
February 28th, 2013, 03:40 PM
Argh!!! :) I'll just turn optimization off, 100% of the heavy lifting through OpenCL and I would rather do the error handling and reporting to shutdown OpenCL gracefully then let the programmer...
February 28th, 2013, 03:15 PM
Well, in this example I pass a NULL pointer, but the user might pass anything, I've no idea what the user is going to do. I can't check for all possible invalid combinations. If I pass a NULL...
February 28th, 2013, 02:55 PM
My particular piece of code is to catch an error if the user passes a pointer to a class that isn't valid.
d is a custom class that is linked to an OpenCL device and has a bunch of stuff in it. ...
February 28th, 2013, 02:19 PM
Sorry to revive a dead thread, but I had this same problem. Try Catch works under debug but not release for x64 compiler using VS2010. The issues seems to be that Try Catch aren't implemented if...