If CUDA is C++ then I'd like to know how you throw and catch exceptions in CUDA kernels.
The same way as people writing C++ code as Google employees do, including LLVM and Chrome.
The same way as people writing C++ code as Google employees do, including LLVM and Chrome.