summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2020-08-10 13:15:37 +0800
committerGitHub <[email protected]>2020-08-10 13:15:37 +0800
commit894b90a805a445dd9d882ffd434a73f0fa22197c (patch)
tree603478d7ac0971586a5c026f00d09a2c0a056f24 /tests/projects
parent3cbe41e25b7a3dd0872daa9ea87ba786a9dc2df8 (diff)
parent084e01a6ac7961fa650aba9cdc06502e4bd88b2c (diff)
Merge pull request #918 from OpportunityLiu/cuda-update
Cuda update
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/cuda/console/xmake.lua4
-rw-r--r--tests/projects/cuda/console_2/xmake.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/projects/cuda/console/xmake.lua b/tests/projects/cuda/console/xmake.lua
index bf69c8c1e..d6137c9d8 100644
--- a/tests/projects/cuda/console/xmake.lua
+++ b/tests/projects/cuda/console/xmake.lua
@@ -14,9 +14,9 @@ target("cuda_console")
add_files("src/*.cu")
-- generate SASS code for each SM architecture
- add_cugencodes("sm_30", "sm_35", "sm_37", "sm_50", "sm_52", "sm_60", "sm_61", "sm_70")
+ add_cugencodes("sm_35", "sm_37", "sm_50", "sm_52", "sm_60", "sm_61", "sm_70", "sm_75")
-- generate PTX code from the highest SM architecture to guarantee forward-compatibility
- add_cugencodes("compute_70")
+ add_cugencodes("compute_75")
diff --git a/tests/projects/cuda/console_2/xmake.lua b/tests/projects/cuda/console_2/xmake.lua
index 2c445d7e3..08cc430d8 100644
--- a/tests/projects/cuda/console_2/xmake.lua
+++ b/tests/projects/cuda/console_2/xmake.lua
@@ -3,7 +3,7 @@
add_rules("mode.debug", "mode.release")
-- generate PTX code for the virtual architecture to guarantee compatibility
-add_cugencodes("compute_30")
+add_cugencodes("compute_35")
-- define target
target("bin")