# tensorplay.cuda.cudart

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

# tensorplay.cuda.cudart

tensorplay.cuda.cudart()[[source]](../_modules/tensorplay/cuda.html#cudart)

Retrieves the CUDA runtime API module.

This function initializes the CUDA runtime environment if it is not already
initialized and returns the CUDA runtime API module (_cudart).

Returns:

The CUDA runtime API module, or None when no
ctypes runtime binding is exposed by this build.

Return type:

module or None
