Hi,

Can I convert all / most of the assertions in the scheduler code to
exceptions? It would help me (so that Python doesn't just abort if
something goes wrong), and I think it would help anyone else who happens
to compile with NDEBUG defined, and who then does something undefined.

More generally, when are assertions appropriate where exceptions are
not? Just where one needs to check something during debugging or
development, but where it doesn't really matter in production? Or where
one wants to disallow exception handling, for some reason?

Cheers,

Toby


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
ViennaCL-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to