# tensorplay.cuda.check_error

Source: https://www.tensorplay.cn/docs/generated/tensorplay.cuda.check_error.html

# tensorplay.cuda.check_error

tensorplay.cuda.check_error(res: [int](https://docs.python.org/3/library/functions.html#int)) &#x2192; [None](https://docs.python.org/3/library/constants.html#None)[[source]](../_modules/tensorplay/cuda.html#check_error)

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