diff options
| author | KunoiSayami <[email protected]> | 2023-05-22 19:42:05 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2023-05-22 19:42:05 +0800 |
| commit | 70af7c287739bc45089af9c36e6a41a2a317d61a (patch) | |
| tree | a832341cd85c2b552c98288068c5f2c4212dc57b /main.cu | |
| parent | bcfe8c96899cfda8df98e540d7d9147b6d8db2a0 (diff) | |
feat: Add skiplist header
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'main.cu')
| -rw-r--r-- | main.cu | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -62,8 +62,8 @@ Conference on Parallel and Distributed Systems, December 2012. ***************************************************************************************/ -//#include"cutil.h" // Comment this if cutil.h is not available -#include "cuda_runtime.h" +// #include"cutil.h" // Comment this if cutil.h is not available +// #include "cuda_runtime.h" #include <algorithm> #include <cassert> #include <cstdio> @@ -86,7 +86,7 @@ typedef unsigned int LL; #endif #define MEASURE_TIME -//#define MEASURE_ACCESS +// #define MEASURE_ACCESS #if (defined(MEASURE_ACCESS) && defined(MEASURE_TIME)) #error "Shouldn't define MEASURE_TIME and MEASURE_ACCESS at the same time" @@ -98,11 +98,11 @@ typedef unsigned int LL; #endif // Maximum level of a node in the skip list -//#define MAX_LEVEL 32 +// #define MAX_LEVEL 32 constexpr size_t MAX_LEVEL = 16; // Number of threads per block -//#define NUM_THREADS 512 +// #define NUM_THREADS 512 constexpr size_t NUM_THREADS = 512; constexpr size_t NUM_ITEMS = BUILD_SIZE; |
