From c71e687de86691c0149804ef10721ac9c230ab9e Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Sun, 2 Jul 2023 21:53:47 +0800 Subject: refactor: Change basic function name Signed-off-by: KunoiSayami --- skiplistcustom.cuh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'skiplistcustom.cuh') diff --git a/skiplistcustom.cuh b/skiplistcustom.cuh index 80ecc19..9bba6f1 100644 --- a/skiplistcustom.cuh +++ b/skiplistcustom.cuh @@ -156,8 +156,7 @@ public: __device__ size_t calcLevel(key_type k) const { // printf("Samples\n"); - auto index = - this->searcher.sample_cdf_custom_version(this->samples, k) / slice_size; + auto index = this->searcher.cdf(this->samples, k) / slice_size; // printf("Samples finish\n"); auto level = trailing_zeroes(index); return level; -- cgit v1.3.1