Skip to content

Commit

Permalink
fix cuda build with openfst 1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jtrmal committed Sep 12, 2024
1 parent 13441d0 commit 1b11593
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,10 +5,10 @@ ifndef CUDATKDIR
$(error CUDATKDIR not defined.)
endif

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

CUDA_INCLUDE= -I$(CUDATKDIR)/include -I$(CUBROOT) -I.. -isystem $(OPENFSTINC)
CUDA_FLAGS = --compiler-options -fPIC --machine 64 -DHAVE_CUDA \
CUDA_FLAGS = --compiler-options -fPIC --machine 64 -DHAVE_CUDA -DOPENFST_VER=$(OPENFSTVER)\
-ccbin $(lastword $(CXX)) -DKALDI_DOUBLEPRECISION=$(DOUBLE_PRECISION) \
-std=c++14 -DCUDA_API_PER_THREAD_DEFAULT_STREAM -lineinfo \
--verbose -Wno-deprecated-gpu-targets
Expand Down

0 comments on commit 1b11593

Please sign in to comment.