summaryrefslogtreecommitdiff
path: root/tests/projects/cuda
diff options
context:
space:
mode:
authorruki <[email protected]>2020-08-22 23:46:44 +0800
committerruki <[email protected]>2020-08-22 23:46:44 +0800
commit6da64856c6ed01eb567a977dae3e117babaaa287 (patch)
tree7c5fe395a9c34aa4a7d5946a6217e40e3de67ae7 /tests/projects/cuda
parent55eb2fa3baaa571a616250ee8a89e98b4d82d49c (diff)
remove some comments
Diffstat (limited to 'tests/projects/cuda')
-rw-r--r--tests/projects/cuda/console/xmake.lua8
-rw-r--r--tests/projects/cuda/console_2/xmake.lua9
-rw-r--r--tests/projects/cuda/shared/xmake.lua8
-rw-r--r--tests/projects/cuda/static/xmake.lua9
4 files changed, 0 insertions, 34 deletions
diff --git a/tests/projects/cuda/console/xmake.lua b/tests/projects/cuda/console/xmake.lua
index d6137c9d8..cad0ccfd0 100644
--- a/tests/projects/cuda/console/xmake.lua
+++ b/tests/projects/cuda/console/xmake.lua
@@ -1,16 +1,8 @@
--- add rules
add_rules("mode.debug", "mode.release")
--- define target
target("cuda_console")
-
- -- set kind
set_kind("binary")
-
- -- add include directories
add_includedirs("inc")
-
- -- add files
add_files("src/*.cu")
-- generate SASS code for each SM architecture
diff --git a/tests/projects/cuda/console_2/xmake.lua b/tests/projects/cuda/console_2/xmake.lua
index 08cc430d8..d2571269e 100644
--- a/tests/projects/cuda/console_2/xmake.lua
+++ b/tests/projects/cuda/console_2/xmake.lua
@@ -1,19 +1,10 @@
-
--- add modes: debug and release
add_rules("mode.debug", "mode.release")
-- generate PTX code for the virtual architecture to guarantee compatibility
add_cugencodes("compute_35")
--- define target
target("bin")
-
- -- set kind
set_kind("binary")
-
add_cuflags("-rdc=true")
-
add_includedirs("inc")
-
- -- add files
add_files("src/*.cu")
diff --git a/tests/projects/cuda/shared/xmake.lua b/tests/projects/cuda/shared/xmake.lua
index e96999a13..590808435 100644
--- a/tests/projects/cuda/shared/xmake.lua
+++ b/tests/projects/cuda/shared/xmake.lua
@@ -1,19 +1,11 @@
-
--- add modes: debug and release
add_rules("mode.debug", "mode.release")
-- generate PTX code for the virtual architecture to guarantee compatibility
add_cugencodes("compute_30")
--- define target
target("lib")
-
- -- set kind
set_kind("shared")
-
- -- add files
add_files("src/lib.cu")
-
add_includedirs("inc", {public = true})
target("bin")
diff --git a/tests/projects/cuda/static/xmake.lua b/tests/projects/cuda/static/xmake.lua
index 55e1e5fd9..5cbc8b90d 100644
--- a/tests/projects/cuda/static/xmake.lua
+++ b/tests/projects/cuda/static/xmake.lua
@@ -1,21 +1,12 @@
-
--- add modes: debug and release
add_rules("mode.debug", "mode.release")
-- generate PTX code for the virtual architecture to guarantee compatibility
add_cugencodes("compute_30")
--- define target
target("lib")
-
- -- set kind
set_kind("static")
-
add_cuflags("-rdc=true")
-
add_includedirs("inc", {public = true})
-
- -- add files
add_files("src/lib.cu")
target("bin")