mirror of
https://github.com/NVIDIA/nccl-tests.git
synced 2026-09-15 06:49:55 +00:00
Fix compilation issues with latest NCCL release headers
Add --extended-lambda to NVCUFLAGS
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ NVCC_GENCODE ?= -gencode=arch=compute_35,code=sm_35 \
|
||||
-gencode=arch=compute_70,code=compute_70
|
||||
endif
|
||||
|
||||
NVCUFLAGS := -ccbin $(CXX) $(NVCC_GENCODE) $(CXXSTD)
|
||||
NVCUFLAGS := -ccbin $(CXX) $(NVCC_GENCODE) $(CXXSTD) --extended-lambda
|
||||
CXXFLAGS := $(CXXSTD)
|
||||
|
||||
LDFLAGS := -L${CUDA_LIB} -lcudart -lrt
|
||||
|
||||
Reference in New Issue
Block a user