summaryrefslogtreecommitdiff
path: root/expt_0516.cu
diff options
context:
space:
mode:
Diffstat (limited to 'expt_0516.cu')
-rw-r--r--expt_0516.cu7
1 files changed, 3 insertions, 4 deletions
diff --git a/expt_0516.cu b/expt_0516.cu
index 1954380..483278e 100644
--- a/expt_0516.cu
+++ b/expt_0516.cu
@@ -67,8 +67,7 @@ __global__ void kernel(const size_t test_length) {
if (tid >= test_length)
return;
// printf("%d\n", tid);
- custom_sort.sample_cdf_custom_version(cudaSampleItem,
- cudaPopulationItem[tid]);
+ custom_sort.cdf(cudaSampleItem, cudaPopulationItem[tid]);
// cdf_result[index] = true;
}
}
@@ -82,8 +81,8 @@ __global__ void kernel2(const size_t test_length) {
if (tid >= test_length)
return;
- FactorySort::sample_cdf(cudaNormalSampleItem, cuda_sample_length,
- cudaPopulationItem[tid]);
+ FactorySort::cdf(cudaNormalSampleItem, cuda_sample_length,
+ cudaPopulationItem[tid]);
// cdf_result[index] = true;
}
}