From 7d3486128ebc865b9f2cad63a5cfd3a8f6abcb5a Mon Sep 17 00:00:00 2001 From: Marcin Junczys-Dowmunt Date: Sat, 5 Sep 2020 18:11:21 -0700 Subject: suppress warning about unused function --- makefiles/common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3