From: Good Guy Date: Tue, 28 Jul 2020 02:23:41 +0000 (-0600) Subject: add missed mod last chkin, tweak cuda drop compute_30 X-Git-Tag: 2020-07~2 X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=3cbe62ca61e2b35d3e228978f6cdedd11218077f;p=goodguy%2Fcinelerra.git add missed mod last chkin, tweak cuda drop compute_30 --- diff --git a/cinelerra-5.1/plugin_cuda b/cinelerra-5.1/plugin_cuda index 7e227acf..4c184e2a 100644 --- a/cinelerra-5.1/plugin_cuda +++ b/cinelerra-5.1/plugin_cuda @@ -7,7 +7,7 @@ NVCC := $(CUDA_PATH)/bin/nvcc -ccbin $(HOST_COMPILER) NVCCFLAGS := -m${TARGET_SIZE} -Xcompiler -fPIC -Xcompiler -fno-omit-frame-pointer -g LDFLAGS = -lcuda -L $(CUDA_PATH)/targets/x86_64-linux/lib -lcudart -SMS ?= 30 35 37 50 52 60 61 70 75 +SMS ?= 35 37 50 52 60 61 70 75 $(foreach sm,$(SMS),$(eval GENCODE_FLAGS += -gencode arch=compute_$(sm),code=sm_$(sm))) HIGHEST_SM := $(lastword $(sort $(SMS))) GENCODE_FLAGS += -gencode arch=compute_$(HIGHEST_SM),code=compute_$(HIGHEST_SM)