diff options
author | Boris Fomitchev <bfomitchev@nvidia.com> | 2016-06-06 09:51:02 +0300 |
---|---|---|
committer | Boris Fomitchev <bfomitchev@nvidia.com> | 2016-06-06 10:06:18 +0300 |
commit | 177505b757f7ecd7ea5fa9c44095bfc47aecdd5c (patch) | |
tree | 899ed8081e2ea3af4c8aa737cacb671e8dbf8462 /Makefile | |
parent | 9d9d8cd59fd4e9527ba4552aedf82285def7d3a4 (diff) |
Gencodes changed to NV recommendedv1.2.2-1+cuda7.5v1.2.1-2+cuda7.5
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -38,7 +38,8 @@ NVCC ?= $(CUDA_HOME)/bin/nvcc NVCC_GENCODE ?= -gencode=arch=compute_35,code=sm_35 \ -gencode=arch=compute_50,code=sm_50 \ - -gencode=arch=compute_52,code=sm_52 + -gencode=arch=compute_52,code=sm_52 \ + -gencode=arch=compute_52,code=compute_52 CXXFLAGS := -I$(CUDA_INC) -fPIC -fvisibility=hidden NVCUFLAGS := -ccbin $(CXX) $(NVCC_GENCODE) -lineinfo -std=c++11 -maxrregcount 96 @@ -146,7 +147,7 @@ MPITESTBINS:= $(patsubst %, $(MPITSTDIR)/%, $(MPITESTS)) test : $(TESTBINS) -$(TSTDIR)/% : test/single/%.cu $(TSTDEP) +$(TSTDIR)/% : test/single/%.cu $(TSTDEP) @printf "Building %-25s > %-24s\n" $< $@ mkdir -p $(TSTDIR) $(NVCC) $(TSTINC) $(NVCUFLAGS) --compiler-options "$(CXXFLAGS)" -o $@ $< $(TSTLIB) -lcuda -lcurand -lnvToolsExt @@ -158,7 +159,7 @@ $(TSTDIR)/% : test/single/%.cu $(TSTDEP) mpitest : $(MPITESTBINS) -$(MPITSTDIR)/% : test/mpi/%.cu $(TSTDEP) +$(MPITSTDIR)/% : test/mpi/%.cu $(TSTDEP) @printf "Building %-25s > %-24s\n" $< $@ mkdir -p $(MPITSTDIR) $(NVCC) $(MPIFLAGS) $(TSTINC) $(NVCUFLAGS) --compiler-options "$(CXXFLAGS)" -o $@ $< $(TSTLIB) -lcurand |