Exception Handling - jimmytwei/oneAPI-samples GitHub Wiki

C++ Exceptions

  • Use exceptions when required​
    • Initialization failures​
  • Exceptions are not allowed in DPC++ kernels​
  • Design code that reduces the need for error handling