summaryrefslogtreecommitdiff
path: root/tests/projects/cuda/console/xmake.lua
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2025-12-01 12:47:59 +0800
committerOpportunityLiu <[email protected]>2025-12-01 12:47:59 +0800
commit4846ee47d9f0bbe2cf05daa6e4fbbdd202cd86da (patch)
treee9e7e1244ee4c525b38655ea900c5f50ac87ee26 /tests/projects/cuda/console/xmake.lua
parentc7e1e6519762517d87e366a9ec7569aa49273f48 (diff)
feat: add support for cuda 11~13; update templates and examples
Diffstat (limited to 'tests/projects/cuda/console/xmake.lua')
-rw-r--r--tests/projects/cuda/console/xmake.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/projects/cuda/console/xmake.lua b/tests/projects/cuda/console/xmake.lua
index 15f43c7f9..981d25dc5 100644
--- a/tests/projects/cuda/console/xmake.lua
+++ b/tests/projects/cuda/console/xmake.lua
@@ -6,9 +6,8 @@ target("cuda_console")
add_files("src/*.cu")
-- generate SASS code for each SM architecture
- add_cugencodes("sm_35", "sm_37", "sm_50", "sm_52", "sm_60", "sm_61", "sm_70", "sm_75")
+ add_cugencodes("sm_75", "sm_80", "sm_89", "sm_90", "sm_100")
-- generate PTX code from the highest SM architecture to guarantee forward-compatibility
- add_cugencodes("compute_75")
-
+ add_cugencodes("compute_100")