summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-07-22 16:29:22 +0800
committerKunoiSayami <[email protected]>2022-07-22 16:29:22 +0800
commit3f1bd23b3432441dbaaa6499f084ffafb531ab06 (patch)
treec5228bc425325d94e8b8f4b2e049dbef436a3742 /CMakeLists.txt
parentf501587105cdfd823d43129f63e419a442871b65 (diff)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c1d5471..e340d9d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,3 +70,12 @@ set_target_properties(normal_distribution PROPERTIES LINKER_LANGUAGE CXX)
add_executable(normal_distribution_ex0702 exp_0702.cpp)
set_target_properties(normal_distribution PROPERTIES LINKER_LANGUAGE CXX)
+
+add_executable(work work.cu)
+target_link_libraries(work m stdc++)
+
+set_target_properties(work PROPERTIES
+ CUDA_SEPARABLE_COMPILATION ON)
+set_target_properties(work PROPERTIES CUDA_ARCHITECTURES "75")
+
+