summaryrefslogtreecommitdiff
path: root/expt_0804.cu
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-08-18 17:31:14 +0800
committerKunoiSayami <[email protected]>2022-08-18 17:31:14 +0800
commit3ebb5c1d4bb4b05ba21e4ceda0e1603d05dbc171 (patch)
treee158353790b47f8b4f186edc5a8f95de1dc43405 /expt_0804.cu
parentf8775404ad29a669af3b2aac23dc5de866e4619f (diff)
feat: Add vaild_sort.cpp
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'expt_0804.cu')
-rw-r--r--expt_0804.cu4
1 files changed, 0 insertions, 4 deletions
diff --git a/expt_0804.cu b/expt_0804.cu
index 73d2c82..efb32f5 100644
--- a/expt_0804.cu
+++ b/expt_0804.cu
@@ -36,10 +36,6 @@ __device__ unsigned insert_value;
__device__ unsigned int index_max, index_min;
#endif
-inline __device__ int get_son_from_step(int point, bool negative) {
- return negative ? point * 2 : point * 2 + 1;
-}
-
__device__ const key_type *cudaBinarySearch(key_type *start,
const key_type val) {
int step_limit = (int)log2f(SAMPLE_LENGTH);