This repository was archived by the owner on Nov 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ PS_LIB = $(addprefix $(PS_PATH)/build/, libps.a libps_main.a) \
172172 $(addprefix $(PS_THIRD_PATH ) /lib/, libgflags.a libzmq.a libprotobuf.a \
173173 libglog.a libz.a libsnappy.a)
174174 # -L$(PS_THIRD_PATH)/lib -lgflags -lzmq -lprotobuf -lglog -lz -lsnappy
175- MSHADOW_NVCCFLAGS += --std=c++14
175+ MSHADOW_NVCCFLAGS += --std=c++17
176176else
177177 MSHADOW_CFLAGS+= -DMSHADOW_DIST_PS=0
178178endif
Original file line number Diff line number Diff line change @@ -131,9 +131,9 @@ endif
131131# -L/usr/local/lib
132132
133133ifeq ($(DEBUG ) , 1)
134- NVCCFLAGS += -std=c++14 -Xcompiler -D_FORCE_INLINES -g -G -O0 -ccbin $(CXX) $(MSHADOW_NVCCFLAGS)
134+ NVCCFLAGS += -std=c++17 -Xcompiler -D_FORCE_INLINES -g -G -O0 -ccbin $(CXX) $(MSHADOW_NVCCFLAGS)
135135else
136- NVCCFLAGS += -std=c++14 -Xcompiler -D_FORCE_INLINES -O3 -ccbin $(CXX) $(MSHADOW_NVCCFLAGS)
136+ NVCCFLAGS += -std=c++17 -Xcompiler -D_FORCE_INLINES -O3 -ccbin $(CXX) $(MSHADOW_NVCCFLAGS)
137137endif
138138
139139# CFLAGS for segfault logger
@@ -693,7 +693,7 @@ build/libtransposerowsp_lib.so:
693693build/libcustomop_gpu_lib.so :
694694 @mkdir -p $(@D )
695695 $(NVCC ) -shared -std=c++11 -Xcompiler -fPIC example/extensions/lib_custom_op/relu_lib.cu -o /dev/null -I include/mxnet
696- $(NVCC ) -shared -std=c++14 -Xcompiler -fPIC example/extensions/lib_custom_op/relu_lib.cu -o $@ -I include/mxnet
696+ $(NVCC ) -shared -std=c++17 -Xcompiler -fPIC example/extensions/lib_custom_op/relu_lib.cu -o $@ -I include/mxnet
697697build/libsubgraph_lib.so :
698698 @mkdir -p $(@D )
699699 $(CXX ) -shared -fPIC -std=c++11 example/extensions/lib_subgraph/subgraph_lib.cc -o /dev/null -I include/mxnet
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ CUfunction get_function(const std::string &code,
147147
148148 std::string gpu_arch_arg = " --gpu-architecture=compute_" + std::to_string (sm_arch);
149149 const char *opts[] = {gpu_arch_arg.c_str (),
150- " --std=c++11 " };
150+ " --std=c++14 " };
151151 const std::string kernel_name_demangled = kernel_name;
152152 NVRTC_CALL (nvrtcAddNameExpression (program, (kernel_name_demangled).c_str ()));
153153
You can’t perform that action at this time.
0 commit comments