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 --- expt_0406.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'expt_0406.cu') diff --git a/expt_0406.cu b/expt_0406.cu index 30ee7c4..4e9ec89 100644 --- a/expt_0406.cu +++ b/expt_0406.cu @@ -56,8 +56,8 @@ __global__ void kernel(unsigned long step, const double slice_size) { auto tid = step * (blockIdx.x * blockDim.x + threadIdx.x) + i; // printf("%d\n", tid); - auto index = (int)(FactorySort::sample_cdf(cudaSampleItem, length, - cudaPopulationItem[tid]) / + auto index = (int)(FactorySort::cdf(cudaSampleItem, length, + cudaPopulationItem[tid]) / slice_size); cdf_result[index] = true; -- cgit v1.3.1