InfiniTAM
InfiniTAM copied to clipboard
Fix the way exceptions are thrown.
~add variadic argument to DIEWITHEXCEPTION and it's variant(s), i.e. DIEWITHEXCEPTION( x, VA_ARGS), and use this to somehow put in data into the exception message.~
- [ ] The check-kernel routine in ORUtils should print exception contents from GPU memory
- [ ] DIEWITHEXCEPTION_REPORTLOCATION --> DIEWITHEXCEPTION (should always report location in code).
- [ ] DIEWITHEXCEPTION needs to somehow store stream-like exception stuff, perhaps via variadic macros...
- [ ] Exception contents should be logged prior to being thrown by the CPU.