InfiniTAM icon indicating copy to clipboard operation
InfiniTAM copied to clipboard

Fix the way exceptions are thrown.

Open Algomorph opened this issue 4 years ago • 0 comments

~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.

Algomorph avatar Mar 06 '20 14:03 Algomorph