OPTION_CC = $(OPTION_CC2) -I$(PATH_INCLUDE) -I$(PATH_SRC)
-
+#includes NV
+INCNV = -I/home/perrot/NVIDIA_GPU_Computing_SDK/C/common/inc/
# librairies pour la compilation
LIB_CC = -lm
LIBSNV = -L/cm/shared/apps/cuda31/toolkit/3.1/lib64/ -lcuda -lcudart
# --use_fast_math
# --ptxas-options=-v
$(PATH_LIB)%_gpu.o : $(PATH_SRC)%_gpu.cu
- $(NVCC) -arch=sm_13 --use_fast_math -c $< -o $@
+ $(NVCC) $(INCNV) -arch=sm_13 --use_fast_math -c $< -o $@
$(PATH_LIB)%.o : $(PATH_SRC)%.c $(DEPS)
$(CC) $(OPTION_CC) -c $< -o $@