diff options
| author | KunoiSayami <[email protected]> | 2022-08-20 02:55:12 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2022-08-20 02:55:12 +0800 |
| commit | 2db81cfeea99a5b108edc3890a0d45853a7d9ef2 (patch) | |
| tree | 62d53a379faacfb69006ef1939eb3898a94bb408 /CMakeLists.txt | |
| parent | 3ebb5c1d4bb4b05ba21e4ceda0e1603d05dbc171 (diff) | |
feat: Add vaild_sort.cpp
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d72a91..71f9202 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,13 @@ set(CMAKE_CUDA_STANDARD 14) #set(GXX_INCLUDE /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include) +# from: Coelacanthus +add_compile_options( + $<$<COMPILE_LANGUAGE:CXX>:-Wall> + $<$<COMPILE_LANGUAGE:CXX>:-pedantic> + $<$<COMPILE_LANGUAGE:CXX>:-Wextra> +) + add_executable(lockfree main.cu) #add_definitions(-DNUM_ITEMS=1048576 -DKEYS=1048576 -DFACTOR=1) @@ -117,5 +124,8 @@ set_target_properties(expt_0809 PROPERTIES CUDA_ARCHITECTURES "75") set_target_properties(expt_0809 PROPERTIES LINKER_LANGUAGE CUDA) -add_executable(valid_sort valid_sort_new.cpp) +add_executable(valid_sort_new valid_sort_new.cpp) +target_link_libraries(valid_sort_new m stdc++) + +add_executable(valid_sort valid_sort.cpp) target_link_libraries(valid_sort m stdc++)
\ No newline at end of file |
