Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/nccl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Junczys-Dowmunt <marcinjd@microsoft.com>2020-09-06 04:11:21 +0300
committerMarcin Junczys-Dowmunt <marcinjd@microsoft.com>2020-09-06 04:11:21 +0300
commit7d3486128ebc865b9f2cad63a5cfd3a8f6abcb5a (patch)
tree45f1382895df7bf2f862b81eb9c14a960618eb59
parentb56650c7f59b8cd40d18809784a6d6be38ef8acb (diff)
suppress warning about unused functionmjd/silencewarning
-rw-r--r--makefiles/common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefiles/common.mk b/makefiles/common.mk
index 83a2a39..6bece83 100644
--- a/makefiles/common.mk
+++ b/makefiles/common.mk
@@ -44,7 +44,7 @@ endif
#$(info NVCC_GENCODE is ${NVCC_GENCODE})
CXXFLAGS := -I$(CUDA_INC) -DCUDA_MAJOR=$(CUDA_MAJOR) -DCUDA_MINOR=$(CUDA_MINOR) -fPIC -fvisibility=hidden
-CXXFLAGS += -Wall -Wno-sign-compare
+CXXFLAGS += -Wall -Wno-sign-compare -Wno-unused-function
NVCUFLAGS := -ccbin $(CXX) $(NVCC_GENCODE) -lineinfo -std=c++11 -Xptxas -maxrregcount=96 -Xfatbin -compress-all
# Use addprefix so that we can specify more than one path
NVLDFLAGS := -L${CUDA_LIB} -lcudart -lrt