diff options
| author | KunoiSayami <[email protected]> | 2023-07-02 21:53:47 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2023-07-02 21:53:47 +0800 |
| commit | c71e687de86691c0149804ef10721ac9c230ab9e (patch) | |
| tree | c5edef26ed08eeea4c4479016faea2dbcca7430c /skiplistcustom.cuh | |
| parent | 0b09bc40d295e7b383f2e5c8ddba255f0ac680ca (diff) | |
refactor: Change basic function name
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'skiplistcustom.cuh')
| -rw-r--r-- | skiplistcustom.cuh | 3 |
1 files changed, 1 insertions, 2 deletions
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; |
