megengine.get_cuda_version

get_cuda_version()[源代码]

Gets the CUDA version used when compiling MegEngine.

返回

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