From 3ebb5c1d4bb4b05ba21e4ceda0e1603d05dbc171 Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Thu, 18 Aug 2022 17:31:14 +0800 Subject: feat: Add vaild_sort.cpp Signed-off-by: KunoiSayami --- expt_0804.cu | 4 ---- 1 file changed, 4 deletions(-) (limited to 'expt_0804.cu') 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); -- cgit v1.3.1