diff --git a/puremd_rc_1003/PG-PuReMD/cuda.am b/puremd_rc_1003/PG-PuReMD/cuda.am index 8d97ccfdbcd314c549c2c48d6b56ef959741905d..bae249b65399e84f5d8e499324f28333f49e0360 100644 --- a/puremd_rc_1003/PG-PuReMD/cuda.am +++ b/puremd_rc_1003/PG-PuReMD/cuda.am @@ -7,13 +7,12 @@ # these are default values for the maximun register count parameter # passed to nvcc compiler (you might need to change it sometimes; all you need -# is to set is as an environment variable). -MAX_REG_COUNT_SINGLE ?=48 -MAX_REG_COUNT_DOUBLE ?=48 +# is to set it as an environment variable). +MAX_REG_COUNT ?=48 .cu.o: - $(NVCC) $(NVCCFLAGS) -maxrregcount=$(MAX_REG_COUNT_SINGLE) -o $@ -c $< + $(AM_V_GEN)$(NVCC) $(NVCCFLAGS) -maxrregcount=$(MAX_REG_COUNT) -o $@ -c $< .cu.lo: - $(top_srcdir)/am/cudalt.py $@ $(NVCC) $(NVCCFLAGS) -maxrregcount=$(MAX_REG_COUNT_SINGLE) -c $< + $(AM_V_GEN)$(top_srcdir)/am/cudalt.py $@ $(NVCC) $(NVCCFLAGS) -maxrregcount=$(MAX_REG_COUNT) -c $< .cu.c: - cp $< $@ + $(AM_V_GEN)cp $< $@