Rate this Page

torch.cuda.check_error#

torch.cuda.check_error(res)[source]#

Raise an error if the result of a CUDA runtime API call is not success.