diff options
author | Marcin Junczys-Dowmunt <marcinjd@microsoft.com> | 2020-09-06 04:11:21 +0300 |
---|---|---|
committer | Marcin Junczys-Dowmunt <marcinjd@microsoft.com> | 2020-09-06 04:11:21 +0300 |
commit | 7d3486128ebc865b9f2cad63a5cfd3a8f6abcb5a (patch) | |
tree | 45f1382895df7bf2f862b81eb9c14a960618eb59 | |
parent | b56650c7f59b8cd40d18809784a6d6be38ef8acb (diff) |
suppress warning about unused functionmjd/silencewarning
-rw-r--r-- | makefiles/common.mk | 2 |
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 |