summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--expt_0425.cu9
1 files changed, 6 insertions, 3 deletions
diff --git a/expt_0425.cu b/expt_0425.cu
index 1a8c4e0..6f506ed 100644
--- a/expt_0425.cu
+++ b/expt_0425.cu
@@ -213,11 +213,14 @@ int main() {
initSample<<<1, 1>>>(cudaSample, cudaPopulation);
cudaDeviceSynchronize();
- run_kernel(test_size);
initCustomSample<<<1, 1>>>();
cudaDeviceSynchronize();
+ // check_items<<<1, 1>>>();
+ // cudaDeviceSynchronize();
+ run_kernel(test_size);
+
key_type *cudaNormalSample = nullptr;
cudaMalloc(&cudaNormalSample, sizeof(key_type) * SAMPLE_LENGTH);
cudaMemcpy(cudaNormalSample, le_sample_vector.data(),
@@ -225,8 +228,8 @@ int main() {
initNormalStorage<<<1, 1>>>(cudaNormalSample);
cudaDeviceSynchronize();
- check_items<<<1, 1>>>();
- cudaDeviceSynchronize();
+ // check_items<<<1, 1>>>();
+ // cudaDeviceSynchronize();
run_kernel(test_size, 0);