From a33696256691b60e067a0aa90f352402b6257847 Mon Sep 17 00:00:00 2001 From: KlausT Date: Sun, 27 Aug 2017 01:33:18 +0200 Subject: [PATCH] fix Makefile.am --- Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 08ecc224..27b6c014 100644 --- a/Makefile.am +++ b/Makefile.am @@ -55,8 +55,8 @@ ccminer_SOURCES = elist.h miner.h compat.h \ x11/s3.cu x11/c11.cu \ bitcoin.cu cuda_bitcoin.cu \ x15/cuda_whirlpoolx.cu x15/whirlpoolx.cu \ - neoscrypt/neoscrypt.cu neoscrypt/cuda_neoscrypt.cu - neoscrypt/cuda_neoscrypt_tpruvot.cu + neoscrypt/neoscrypt.cu neoscrypt/cuda_neoscrypt.cu \ + neoscrypt/cuda_neoscrypt_tpruvot.cu \ neoscrypt/cuda_vector_tpruvot.cuh neoscrypt/cuda_vector_uint2x4.cuh # scrypt @@ -128,4 +128,7 @@ skein.o: skein.cu $(NVCC) $(nvcc_FLAGS) --maxrregcount=64 -o $@ -c $< neoscrypt/cuda_neoscrypt.o: neoscrypt/cuda_neoscrypt.cu + $(NVCC) -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_37,code=sm_37 @CUDA_INCLUDES@ -I. @CUDA_CFLAGS@ $(JANSSON_INCLUDES) --ptxas-options="-v" -o $@ -c $< + +neoscrypt/cuda_neoscrypt.o: neoscrypt/cuda_neoscrypt_tpruvot.cu $(NVCC) -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_30,code=sm_30 @CUDA_INCLUDES@ -I. @CUDA_CFLAGS@ $(JANSSON_INCLUDES) --ptxas-options="-v" -o $@ -c $<