Enable compilation with old g++ when the default g++ is not supported (+5.0)
[ROCm/rccl commit: e30bf95989]
This commit is contained in:
@@ -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
|
||||
|
||||
Referens i nytt ärende
Block a user