mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-10-23 21:28:17 +08:00
Updating samples for 12.0
This commit is contained in:
@@ -337,7 +337,7 @@ endif
|
||||
ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),armv7l aarch64 sbsa))
|
||||
SMS ?= 53 61 70 72 75 80 86 87 90
|
||||
else
|
||||
SMS ?= 35 37 50 52 60 61 70 75 80 86 90
|
||||
SMS ?= 50 52 60 61 70 75 80 86 90
|
||||
endif
|
||||
|
||||
ifeq ($(SMS),)
|
||||
@@ -356,7 +356,7 @@ GENCODE_FLAGS += -gencode arch=compute_$(HIGHEST_SM),code=compute_$(HIGHEST_SM)
|
||||
endif
|
||||
endif
|
||||
|
||||
ALL_CCFLAGS += --threads 0 --std=c++11
|
||||
ALL_CCFLAGS += --threads 0 --std=c++11 -Xcompiler -fPIE
|
||||
|
||||
LIBSIZE :=
|
||||
ifneq ($(TARGET_OS),darwin)
|
||||
|
||||
Reference in New Issue
Block a user