Hi there, I am programming a C CUDA extension to pytorch.
I want to check for some conditions within that code, and raise exceptions if these conditions are not satisfied.
I don’t see how to do that, could you please give me some pointers ?
thanks