diff options
| author | KunoiSayami <[email protected]> | 2023-06-01 16:09:13 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2023-06-01 16:09:13 +0800 |
| commit | d8384bdc4aa7fa1ccc24aec296fac83f1d43a2b4 (patch) | |
| tree | 31f2dfd29c191596bf6d7275b82826de745943f0 /sortlib.cuh | |
| parent | 5d373e5db4d1626f085c5f19ab8481f8a0b14226 (diff) | |
feat: Optimize read_helper library
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'sortlib.cuh')
| -rw-r--r-- | sortlib.cuh | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
