summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-05-27 22:54:00 +0800
committerKunoiSayami <[email protected]>2022-05-27 22:54:00 +0800
commit918616383918919764b6c97f2285b53969a4dc97 (patch)
tree15b119ffcac8abfaaa6239700d8f3e8bcfbddfd2 /CMakeLists.txt
init
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..d7e3860
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 3.22)
+project(lockfree CUDA)
+
+set(CMAKE_CUDA_STANDARD 14)
+
+add_executable(lockfree main.cu)
+#add_definitions(-DNUM_ITEMS=1048576 -DKEYS=1048576 -DFACTOR=1)
+
+set_target_properties(lockfree PROPERTIES
+ CUDA_SEPARABLE_COMPILATION ON)