提交 6837cfa7 authored 作者: Frederic Bastien's avatar Frederic Bastien

take the CUDA_NDARRAY env var if it exist

上级 24858525
CUDA_NDARRAY?=$(HOME)/cvs/lgcm/cuda_ndarray
type_support.so : type_support.cu $(HOME)/cvs/lgcm/cuda_ndarray/cuda_ndarray.so
nvcc -g -shared -I$(HOME)/cvs/lgcm/cuda_ndarray -I$(CUDA_ROOT)/include -I/usr/include/python2.6 -o type_support.so -Xcompiler -fPIC type_support.cu -L$(CUDA_ROOT)/lib -L$(HOME)/cvs/lgcm/cuda_ndarray -lcuda_ndarray
type_support.so : type_support.cu $(CUDA_NDARRAY)/cuda_ndarray.so
nvcc -g -shared -I$(CUDA_NDARRAY) -I$(CUDA_ROOT)/include -I/usr/include/python2.6 -o type_support.so -Xcompiler -fPIC type_support.cu -L$(CUDA_ROOT)/lib -L$(CUDA_NDARRAY) -lcuda_ndarray
clean :
rm type_support.so
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论