summaryrefslogtreecommitdiff
path: root/expt_0503.cu
diff options
context:
space:
mode:
Diffstat (limited to 'expt_0503.cu')
-rw-r--r--expt_0503.cu4
1 files changed, 2 insertions, 2 deletions
diff --git a/expt_0503.cu b/expt_0503.cu
index 58f35aa..0ada96c 100644
--- a/expt_0503.cu
+++ b/expt_0503.cu
@@ -1,4 +1,5 @@
// Experimental content: Test branch performance
+#define ENABLE_SORT_TEST
#include "sortlib.cuh"
#include <algorithm>
@@ -59,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 + cuda_sample_length,
- cudaPopulationItem[tid]) /
+ cudaSampleItem, cudaPopulationItem[tid]) /
slice_size) -
1;
cdf_result[index] = true;