Enable compilation with old g++ when the default g++ is not supported (+5.0)

[ROCm/rccl commit: e30bf95989]
This commit is contained in:
Pau Farré
2016-04-12 12:49:13 +02:00
förälder 014160c90a
incheckning c23edf3d49
+2 -2
Visa fil
@@ -40,10 +40,10 @@ BUILDDIR := build
NVCC := $(CUDA_HOME)/bin/nvcc
GPP := g++
GPP ?= g++
CPPFLAGS := -I$(CUDA_HOME)/include
CXXFLAGS := -O3 -fPIC -fvisibility=hidden
NVCUFLAGS := $(CUDACODE) -O3 -lineinfo -std=c++11 -maxrregcount 96
NVCUFLAGS := $(CUDACODE) -O3 -lineinfo -std=c++11 -maxrregcount 96 -ccbin=${GPP}
ifneq ($(VERBOSE), 0)
NVCUFLAGS += -Xptxas -v -Xcompiler -Wall,-Wextra