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()
def configure(conf): conf.find_program('nvcc', var='NVCC') conf.find_cuda_libs()
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()
def configure(conf): conf.find_program('nvcc', var='NVCC') conf.find_cuda_libs() conf.cxx_flags_to_cuda()
def configure(conf): conf.find_program("nvcc", var="NVCC") conf.find_cuda_libs()
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()