示例#1
0
def cudadevrt_missing():
    if config.ENABLE_CUDASIM:
        return False
    try:
        libs.check_static_lib('cudadevrt')
    except FileNotFoundError:
        return True
    return False
示例#2
0
def cudadevrt_missing():
    try:
        libs.check_static_lib('cudadevrt')
    except FileNotFoundError:
        return True
    return False