summaryrefslogtreecommitdiff
path: root/expt_0501.cu
diff options
context:
space:
mode:
Diffstat (limited to 'expt_0501.cu')
-rw-r--r--expt_0501.cu3
1 files changed, 1 insertions, 2 deletions
diff --git a/expt_0501.cu b/expt_0501.cu
index dcd25f5..7e63ae6 100644
--- a/expt_0501.cu
+++ b/expt_0501.cu
@@ -60,8 +60,7 @@ __global__ void kernel(unsigned long step, const double slice_size,
// printf("%d\n", tid);
auto index = (int)(custom_sort.sample_cdf_custom_version(
- cudaSampleItem, cudaSampleItem + SAMPLE_LENGTH,
- cudaPopulationItem[tid]) /
+ cudaSampleItem, cudaPopulationItem[tid]) /
slice_size) -
1;
// printf("%llu %d\n", cudaPopulationItem[tid], index);