summaryrefslogtreecommitdiff
path: root/expt_0425.cu
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2023-05-03 00:06:16 +0800
committerKunoiSayami <[email protected]>2023-05-03 00:09:51 +0800
commit2cbfaf703201b75472c186cc60b3159785108340 (patch)
treec034b92d7a1e808c1980534eaf44dc86d909c427 /expt_0425.cu
parent58e87dbf5f1ec6905de68d52e23a2a6f4823af44 (diff)
feat(exp): Add expt_0501
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'expt_0425.cu')
-rw-r--r--expt_0425.cu24
1 files changed, 24 insertions, 0 deletions
diff --git a/expt_0425.cu b/expt_0425.cu
index 6f506ed..c4ea6d5 100644
--- a/expt_0425.cu
+++ b/expt_0425.cu
@@ -1,3 +1,4 @@
+// Experimental content: Branch custom search between binary search
#include "sortlib.cuh"
#include <algorithm>
@@ -236,3 +237,26 @@ int main() {
freeStorage<<<1, 1>>>();
cudaDeviceSynchronize();
}
+
+/*
+ * Sample output:
+test size: 32768
+current dim: 32 32 32
+scale: 2 time: 0.445024
+scale: 4 time: 0.440768
+scale: 6 time: 0.442432
+scale: 8 time: 0.284576
+scale: 10 time: 0.284640
+scale: 12 time: 0.284672
+scale: 14 time: 0.284672
+scale: 16 time: 0.284064
+current dim: 32 32 32
+scale: 2 time: 0.141888
+scale: 4 time: 0.141312
+scale: 6 time: 0.139968
+scale: 8 time: 0.140288
+scale: 10 time: 0.140960
+scale: 12 time: 0.139904
+scale: 14 time: 0.141344
+scale: 16 time: 0.141696
+ */