From 918616383918919764b6c97f2285b53969a4dc97 Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Fri, 27 May 2022 22:54:00 +0800 Subject: init Signed-off-by: KunoiSayami --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') 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) -- cgit v1.3.1