projects
/
goodguy
/
cinelerra.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b89feee
)
add missed mod last chkin, tweak cuda drop compute_30
author
Good Guy
<
[email protected]
>
Tue, 28 Jul 2020 02:23:41 +0000
(20:23 -0600)
committer
Good Guy
<
[email protected]
>
Tue, 28 Jul 2020 02:23:41 +0000
(20:23 -0600)
cinelerra-5.1/plugin_cuda
patch
|
blob
|
history
diff --git
a/cinelerra-5.1/plugin_cuda
b/cinelerra-5.1/plugin_cuda
index 7e227acfc0627848e239d06a8e3e34f20f31f4e9..4c184e2a111c289b49a19da6f9e8e067e83325a1 100644
(file)
--- 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 ?= 3
0 3
5 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)