Skip to content

Commit 2a1d364

Browse files
authored
Merge pull request #40 from jordiblasco/patch-1
Removing unsupported architectures
2 parents 0754981 + cc87bb4 commit 2a1d364

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

  • posts/cuda-aware-mpi-example/src

posts/cuda-aware-mpi-example/src/Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,12 @@ CFLAGS=-std=c99 -O3 -march=native -Wall
3434
MPICFLAGS=-I${MPI_HOME}/include
3535
CUDACFLAGS=-I${CUDA_INSTALL_PATH}/include
3636

37-
GENCODE_SM30 := -gencode arch=compute_30,code=sm_30
38-
GENCODE_SM35 := -gencode arch=compute_35,code=sm_35
39-
GENCODE_SM35 := -gencode arch=compute_37,code=sm_37
4037
GENCODE_SM50 := -gencode arch=compute_50,code=sm_50
4138
GENCODE_SM52 := -gencode arch=compute_52,code=sm_52
4239
GENCODE_SM60 := -gencode arch=compute_60,code=sm_60
4340
GENCODE_SM70 := -gencode arch=compute_70,code=\"sm_70,compute_70\"
44-
GENCODE_FLAGS := $(GENCODE_SM30) $(GENCODE_SM35) $(GENCODE_SM37) \
45-
$(GENCODE_SM50) $(GENCODE_SM52) $(GENCODE_SM60) $(GENCODE_SM70)
41+
GENCODE_FLAGS := $(GENCODE_SM50) $(GENCODE_SM52) $(GENCODE_SM60) $(GENCODE_SM70)
42+
4643

4744
NVCCFLAGS=-O3 $(GENCODE_FLAGS) -Xcompiler -march=native
4845

0 commit comments

Comments
 (0)