megengine.get_cuda_version#

get_cuda_version()[source]#

Gets the CUDA version used when compiling MegEngine.

Returns:

a version number, indicating CUDA_VERSION_MAJOR * 1000 + CUDA_VERSION_MINOR * 10.