summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-09-10 19:14:36 +0800
committerKunoiSayami <[email protected]>2022-09-10 19:14:36 +0800
commitdfff6e20d97539ef85d105eab0b41487e3602878 (patch)
treeab81fd5862925fb2ca0ea1e9c42637519266238f /CMakeLists.txt
parent0a26aab895a7329a19e3789d56a691d67390aafa (diff)
feat: Implement expt_0830
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e05ef87..bdca176 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -131,4 +131,12 @@ add_executable(valid_sort valid_sort.cpp)
target_link_libraries(valid_sort m stdc++)
add_executable(expt_0821 expt_0821.cpp sortlib.h)
-target_link_libraries(expt_0821 m stdc++) \ No newline at end of file
+target_link_libraries(expt_0821 m stdc++)
+
+add_executable(expt_0830 expt_0830.cu sortlib.cuh)
+target_link_libraries(expt_0830 m stdc++)
+
+set_target_properties(expt_0830 PROPERTIES
+ CUDA_SEPARABLE_COMPILATION ON)
+set_target_properties(expt_0830 PROPERTIES CUDA_ARCHITECTURES "75")
+set_target_properties(expt_0830 PROPERTIES LINKER_LANGUAGE CUDA) \ No newline at end of file