summaryrefslogtreecommitdiff
path: root/expt_0729.cu
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-08-07 13:24:30 +0800
committerKunoiSayami <[email protected]>2022-08-07 13:24:30 +0800
commitf8775404ad29a669af3b2aac23dc5de866e4619f (patch)
tree2b94f409fc0e030850d4733e2b2a1b24c5ff5e49 /expt_0729.cu
parent5e5d17b0f5d97be4c11a96a2ad2c8e10a6127832 (diff)
feat: Optimize binary search
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'expt_0729.cu')
-rw-r--r--expt_0729.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/expt_0729.cu b/expt_0729.cu
index 31aac7f..2d85a49 100644
--- a/expt_0729.cu
+++ b/expt_0729.cu
@@ -174,7 +174,7 @@ int main(int argc, char const *argv[]) {
init<<<1, 1>>>(cudaSample, cudaPopulation);
cudaDeviceSynchronize();
- dim3 grid_dim = 2, block_dim = 512;
+ dim3 grid_dim = 64, block_dim = 16;
unsigned long step = test_size / (grid_dim.x * block_dim.x);
printf("step: %lu\n", step);