summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-07-07 17:31:06 +0800
committerGitHub <[email protected]>2023-07-07 17:31:06 +0800
commit999c1b3f68ab44b3c5c3ce107f12ea41f035ef39 (patch)
tree5a5639789935739006af1be2e7815f48d6568411
parentfc576981c1405a6b18f71901d599232729168fea (diff)
parent9f68a9e3c790801cc3efe00952614ab382fda53c (diff)
Merge pull request #3937 from xq114/dev
update cuda known archs
-rw-r--r--xmake/rules/cuda/gencodes/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/cuda/gencodes/xmake.lua b/xmake/rules/cuda/gencodes/xmake.lua
index f60f8cd2e..4b730357a 100644
--- a/xmake/rules/cuda/gencodes/xmake.lua
+++ b/xmake/rules/cuda/gencodes/xmake.lua
@@ -43,8 +43,8 @@ rule("cuda.gencodes")
-- sm_20 and compute_20 is supported until CUDA 8
-- sm_30 and compute_30 is supported until CUDA 10
- local known_v_archs = hashset.of(20, 30, 32, 35, 37, 50, 52, 53, 60, 61, 62, 70, 72, 75, 80, 86, 87)
- local known_r_archs = hashset.of(20, 30, 32, 35, 37, 50, 52, 53, 60, 61, 62, 70, 72, 75, 80, 86, 87)
+ local known_v_archs = hashset.of(20, 30, 32, 35, 37, 50, 52, 53, 60, 61, 62, 70, 72, 75, 80, 86, 87, 89, 90)
+ local known_r_archs = hashset.of(20, 30, 32, 35, 37, 50, 52, 53, 60, 61, 62, 70, 72, 75, 80, 86, 87, 89, 90)
local function nf_cugencode(archs)
if type(archs) ~= "string" then