diff options
| author | KunoiSayami <[email protected]> | 2022-07-22 16:29:22 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2022-07-22 16:29:22 +0800 |
| commit | 3f1bd23b3432441dbaaa6499f084ffafb531ab06 (patch) | |
| tree | c5228bc425325d94e8b8f4b2e049dbef436a3742 /CMakeLists.txt | |
| parent | f501587105cdfd823d43129f63e419a442871b65 (diff) | |
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 9 |
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") + + |
