# compilateur
CC = gcc
-NVCC = /usr/local/cuda/bin/nvcc
+NVCC = nvcc
CXX = g++
# options de compilation
# librairies pour la compilation
LIB_CC = -lm
-LIBSNV = -L/usr/local/cuda/lib64 -lcuda -lcudart
+LIBSNV = -L/cm/shared/apps/cuda31/toolkit/3.1/lib64 -lcuda -lcudart
# sources utiles a la compilation des main
SRCS = lib_alloc.c lib_images.c lib_math.c lib_snake_common.c lib_contour.c
# --use_fast_math
# --ptxas-options=-v
$(PATH_LIB)%_gpu.o : $(PATH_SRC)%_gpu.cu
- $(NVCC) -arch=sm_20 --use_fast_math -c $< -o $@
+ $(NVCC) -arch=sm_13 --use_fast_math -c $< -o $@
$(PATH_LIB)%.o : $(PATH_SRC)%.c $(DEPS)
$(CC) $(OPTION_CC) -c $< -o $@