View Single Post
Old 2020-01-11, 16:46   #4
chris2be8
 
chris2be8's Avatar
 
Sep 2009

36718 Posts
Default

On my newest system I got it running with:
Code:
chris@sirius:~$ diff msieve.1030/trunk/Makefile msieve.1030.cuda/trunk/Makefile 
198a199
> #	stage1_core_sm20.ptx 
200d200
< 	stage1_core_sm20.ptx \
337,338c337,338
< stage1_core_sm20.ptx: $(NFS_GPU_HDR)
< 	$(NVCC) -arch sm_20 -ptx -o $@ $<
---
> #stage1_core_sm20.ptx: $(NFS_GPU_HDR)
> #	$(NVCC) -arch sm_20 -ptx -o $@ $<
350c350
< 	cd cub && make WIN=$(WIN) WIN64=$(WIN64) sm=200,300,350,520 && cd ..
---
> 	cd cub && make WIN=$(WIN) WIN64=$(WIN64) sm=300,350,520 && cd ..
Code:
chris@sirius:~$ diff msieve.1030/trunk/cub/Makefile msieve.1030.cuda/trunk/cub/Makefile 
19c19
< 	NVCCFLAGS += -Xptxas -v -Xcudafe -\# -shared -Xptxas -abi=no \
---
> 	NVCCFLAGS += -Xptxas -v -Xcudafe -\# -shared \
45,52d44
< endif
< ifeq (210, $(findstring 210, $(SM_ARCH)))
<     SM_TARGETS 	+= -gencode=arch=compute_20,code=\"sm_21,compute_20\"
<     SM_DEF 		+= -DSM210
< endif
< ifeq (200, $(findstring 200, $(SM_ARCH)))
<     SM_TARGETS 	+= -gencode=arch=compute_20,code=\"sm_20,compute_20\"
<     SM_DEF 		+= -DSM200
Chris
chris2be8 is offline   Reply With Quote