From d8384bdc4aa7fa1ccc24aec296fac83f1d43a2b4 Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Thu, 1 Jun 2023 16:09:13 +0800 Subject: feat: Optimize read_helper library Signed-off-by: KunoiSayami --- sortlib.cuh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sortlib.cuh') diff --git a/sortlib.cuh b/sortlib.cuh index 64f355b..8d6788e 100644 --- a/sortlib.cuh +++ b/sortlib.cuh @@ -239,7 +239,8 @@ public: return last_known_point; } - __device__ __host__ double static sample_cdf(key_type *begin, long length, + __device__ __host__ double static sample_cdf(key_type *begin, + unsigned long length, key_type x) { // printf("%f\n", x); auto end = begin + length; -- cgit v1.3.1