Skip to content

Commit

Permalink
[build] Move nvcc verbose flag to proper location (#2962)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleary authored and danpovey committed Jan 7, 2019
1 parent 1079922 commit 205dbd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/makefiles/cuda_64bit.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ ifndef CUDATKDIR
$(error CUDATKDIR not defined.)
endif

CXXFLAGS += -DHAVE_CUDA -I$(CUDATKDIR)/include -fPIC -pthread -isystem $(OPENFSTINC) -rdynamic --verbose
CXXFLAGS += -DHAVE_CUDA -I$(CUDATKDIR)/include -fPIC -pthread -isystem $(OPENFSTINC) -rdynamic

CUDA_INCLUDE= -I$(CUDATKDIR)/include -I$(CUBROOT)
CUDA_FLAGS = --machine 64 -DHAVE_CUDA \
-ccbin $(CXX) -DKALDI_DOUBLEPRECISION=$(DOUBLE_PRECISION) \
-std=c++11 -DCUDA_API_PER_THREAD_DEFAULT_STREAM -lineinfo \
-Xcompiler "$(CXXFLAGS)"
--verbose -Xcompiler "$(CXXFLAGS)"

CUDA_LDFLAGS += -L$(CUDATKDIR)/lib64 -Wl,-rpath,$(CUDATKDIR)/lib64
CUDA_LDLIBS += -lcublas -lcusparse -lcudart -lcurand -lnvToolsExt #LDLIBS : The libs are loaded later than static libs in implicit rule

0 comments on commit 205dbd8

Please sign in to comment.