def METHOD_NAME():
    nvcc_path = search_on_path(('nvcc', 'nvcc.exe'))
    if nvcc_path is not None:
        cuda_path_default = os.path.normpath(os.path.join(os.path.dirname(nvcc_path), '..'))
        _cuda_path = cuda_path_default
    elif os.path.exists('/usr/local/cuda'):
        _cuda_path = '/usr/local/cuda'
    else:
        _cuda_path = None
    return _cuda_path