summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2019-06-10 22:33:09 +0800
committerruki <[email protected]>2019-06-10 09:18:59 +0800
commit1907e99429956b1c31dee51f9510b6b176f75e82 (patch)
treea3668c67eedd1936b35d70923d0cbf75dfb9b8a8
parentc5fed632a287c2aedd335ba4e41f4347d2fe1956 (diff)
modify test and template
-rw-r--r--tests/projects/cuda/console/xmake.lua2
-rw-r--r--xmake/templates/cuda/console/project/xmake.lua5
2 files changed, 1 insertions, 6 deletions
diff --git a/tests/projects/cuda/console/xmake.lua b/tests/projects/cuda/console/xmake.lua
index 430ad7b6d..d7267fb0d 100644
--- a/tests/projects/cuda/console/xmake.lua
+++ b/tests/projects/cuda/console/xmake.lua
@@ -1,6 +1,4 @@
-includes('add_cugencodes.lua')
-
-- define target
target("cuda_console")
diff --git a/xmake/templates/cuda/console/project/xmake.lua b/xmake/templates/cuda/console/project/xmake.lua
index 467ae7296..1c1c48cfb 100644
--- a/xmake/templates/cuda/console/project/xmake.lua
+++ b/xmake/templates/cuda/console/project/xmake.lua
@@ -2,9 +2,6 @@
-- add modes: debug and release
add_rules("mode.debug", "mode.release")
--- add helper function add_cugencodes
-includes('add_cugencodes.lua')
-
-- define target
target("[targetname]")
@@ -24,4 +21,4 @@ target("[targetname]")
-- add_cugencodes("sm_30", "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_75") \ No newline at end of file
+ -- add_cugencodes("compute_75")