Пример #1
0
def configure(conf):
    v = conf.env
    v['NVCC_COMPILER'] = "-Xcompiler=%s"
    v['NVCC_SRC_F'] = []
    v['NVCC_TGT_F']= ['-c','-o']

    if conf.find_program('nvcc', var='NVCC', mandatory=False):
        conf.find_cuda_libs()
Пример #2
0
Файл: cuda.py Проект: cawka/waf
def configure(conf):
	conf.find_program('nvcc', var='NVCC')
	conf.find_cuda_libs()
Пример #3
0
def configure(conf):
    conf.find_program('nvcc', var='NVCC')
    conf.options.cuda_dir = conf.root.find_node(
        conf.env.NVCC).parent.parent.abspath()
    conf.find_cuda_libs()
Пример #4
0
def configure(conf):
    conf.find_program('nvcc', var='NVCC')
    conf.find_cuda_libs()
Пример #5
0
def configure(conf):
        conf.find_program('nvcc', var='NVCC')
        conf.find_cuda_libs()
        conf.cxx_flags_to_cuda()
Пример #6
0
def configure(conf):
    conf.find_program("nvcc", var="NVCC")
    conf.find_cuda_libs()
Пример #7
0
def configure(conf):
    conf.find_program('nvcc', var='NVCC')
    conf.options.cuda_dir=conf.root.find_node(conf.env.NVCC).parent.parent.abspath()
    conf.find_cuda_libs()