slime/show/results/coordinate_range_diagnostics.json

324 lines
12 KiB
JSON

{
"note": "地图规模变化的历史诊断实验,已移出视频/博客主线,不作为新的优化步骤。",
"metadata": {
"date": "2026-10-08T00:28:41.318982+08:00",
"cpu": "AMD Ryzen 7 5800H with Radeon Graphics",
"platform": "Linux-6.18.40.1-microsoft-standard-WSL2-x86_64-with-glibc2.39",
"repeats": 5,
"gpu": {
"command": [
"nvidia-smi",
"--query-gpu=name,driver_version,temperature.gpu,power.draw,utilization.gpu",
"--format=csv"
],
"process_ms": 78.23648804333061,
"stdout": "name, driver_version, temperature.gpu, power.draw [W], utilization.gpu [%]\nNVIDIA GeForce RTX 3060 Laptop GPU, 596.49, 67, 19.65 W, 29 %\n",
"stderr": ""
},
"nvcc": {
"command": [
"nvcc",
"--version"
],
"process_ms": 31.78272402146831,
"stdout": "nvcc: NVIDIA (R) Cuda compiler driver\nCopyright (c) 2005-2023 NVIDIA Corporation\nBuilt on Fri_Jan__6_16:45:21_PST_2023\nCuda compilation tools, release 12.0, V12.0.140\nBuild cuda_12.0.r12.0/compiler.32267302_0\n",
"stderr": ""
},
"gxx": {
"command": [
"g++",
"--version"
],
"process_ms": 7.172641053330153,
"stdout": "g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0\nCopyright (C) 2023 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n",
"stderr": ""
},
"source_sha256": {
"01_cpu.cpp": "b7fc5d25b32050bd3defdb3934e6bb4f1dd8b5d83d529bef8b8a90d719d17e8b",
"08_seed_cpu.cpp": "b9722cc52e46eb720fb78ea1d3f0531249cf656d274771fd8c2bad9f06f27800",
"07_residue.cu": "873bea97faec42ce87620ea8b6bea3ffdb329ba2cf7924ab2d11719a91347b38",
"08_seed_cuda.cu": "e4e95df388e572c21fed0e87b81299265ed66221f7d37b90d5c8feb7839a1ed7",
"08_upper_compare.cu": "f20dc272ebc821230c83d22ca5c9819e8b658b1b994025b2c31b1928f067335f",
"cuda_steps.cu": "b81d7c85f96c1e1f36fa6cb6907e17f62955606821e86959b038095e10f4957a",
"02_cuda_seed.cuh": "1f6a8bf1d780f569c1a685c67edd8242db9d658fb919247b0197c3b450854455",
"03_cuda_position.cuh": "69ceeb76a9954b073826a613fe9b343bc3cbb106f47546b3af2bd00df589e34c",
"04_cuda_outer_sum.cuh": "a316d3a4845351be996bee4930d817aa9d37edec05cbcf8e1869c086533a477d",
"common.hpp": "686d1964fe2fd5cb17709d9c5de7cbfbf0530a7a5622604a138a65194f100a13",
"../research/slime_solver_core.hpp": "feb1200518716b4d796fb60f60a83b6b798155bbd4e795531793181a5c7f9eba"
},
"mapping_updated_at": "2026-10-08T23:15:42.590910+08:00",
"mapping_repeats": 5,
"mapping_source_sha256": {
"01_cpu.cpp": "b7fc5d25b32050bd3defdb3934e6bb4f1dd8b5d83d529bef8b8a90d719d17e8b",
"cuda_steps.cu": "a5c639dafcdf581c35f4551195cf28e5ec82eac9b642631a6845fbfc6fa48cfb",
"02_cuda_seed.cuh": "1f6a8bf1d780f569c1a685c67edd8242db9d658fb919247b0197c3b450854455",
"03_cuda_position.cuh": "44f49a7db73e52ec87ac632a2cee2f7938a2241a356780e151b3ab0de5d9a506",
"04_cuda_outer_sum.cuh": "a316d3a4845351be996bee4930d817aa9d37edec05cbcf8e1869c086533a477d"
},
"C_updated_at": "2026-10-08T23:58:18.383398+08:00",
"verification_updated_at": "2026-10-08T23:58:18.383398+08:00",
"verification_source_sha256": {
"01_cpu.cpp": "b7fc5d25b32050bd3defdb3934e6bb4f1dd8b5d83d529bef8b8a90d719d17e8b",
"08_seed_cpu.cpp": "b9722cc52e46eb720fb78ea1d3f0531249cf656d274771fd8c2bad9f06f27800",
"07_residue.cu": "873bea97faec42ce87620ea8b6bea3ffdb329ba2cf7924ab2d11719a91347b38",
"08_seed_cuda.cu": "e4e95df388e572c21fed0e87b81299265ed66221f7d37b90d5c8feb7839a1ed7",
"08_upper_compare.cu": "f20dc272ebc821230c83d22ca5c9819e8b658b1b994025b2c31b1928f067335f",
"cuda_steps.cu": "1015892b920383399368527e3c8c5620a004276c9db8fcb5c67188a00a2d3e7a",
"02_cuda_seed.cuh": "1f6a8bf1d780f569c1a685c67edd8242db9d658fb919247b0197c3b450854455",
"03_cuda_position.cuh": "82ce3adb0bca11dab7a48f75fdccbbb207dbffa43a0c2ad8b19ec0f741f2738c",
"04_cuda_outer_sum.cuh": "a316d3a4845351be996bee4930d817aa9d37edec05cbcf8e1869c086533a477d",
"common.hpp": "9d0814927d6905964c3288d20f502a7797800e3382795e6e7c2cbbfccea6da33",
"../research/slime_solver_core.hpp": "feb1200518716b4d796fb60f60a83b6b798155bbd4e795531793181a5c7f9eba"
},
"C_source_sha256": {
"cuda_steps.cu": "1015892b920383399368527e3c8c5620a004276c9db8fcb5c67188a00a2d3e7a",
"02_cuda_seed.cuh": "1f6a8bf1d780f569c1a685c67edd8242db9d658fb919247b0197c3b450854455",
"03_cuda_position.cuh": "82ce3adb0bca11dab7a48f75fdccbbb207dbffa43a0c2ad8b19ec0f741f2738c",
"04_cuda_outer_sum.cuh": "a316d3a4845351be996bee4930d817aa9d37edec05cbcf8e1869c086533a477d",
"common.hpp": "9d0814927d6905964c3288d20f502a7797800e3382795e6e7c2cbbfccea6da33"
},
"verification_note": "Timing sequence ends at 04. Random properties moved into a theory chapter. All 13 correctness tests passed after removing the 05 timing branch; older phase measurements retain their original dates and hashes, C was remeasured with the current binary."
},
"range_sweep": [
{
"case": {
"seed": 61692151016558,
"seeds": 65536,
"x0": 50813,
"z0": 418868,
"width": 513,
"height": 513
},
"data": {
"seed_start": 61692151016558,
"seeds": 65536,
"x0": 50813,
"z0": 418868,
"width": 513,
"height": 513,
"n": 5,
"candidate_count": 17247043584,
"gpu": "NVIDIA GeForce RTX 3060 Laptop GPU",
"setup_ms": 214.74635,
"comparison_equal": true,
"rows": [
{
"mode": 2,
"kernel_samples_ms": [
566.0969238
],
"kernel_median_ms": 566.0969238,
"scan_samples_ms": [
613.641925
],
"scan_median_ms": 613.641925
},
{
"mode": 3,
"kernel_samples_ms": [
310.4040833
],
"kernel_median_ms": 310.4040833,
"scan_samples_ms": [
336.619617
],
"scan_median_ms": 336.619617
}
],
"hits": [
[
61692151016558,
51069,
419124
]
]
},
"raw": {
"command": [
"/mnt/d/dev/slime/show/bin/cuda_steps",
"--seed",
"61692151016558",
"--seeds",
"65536",
"--x0",
"50813",
"--z0",
"418868",
"--width",
"513",
"--height",
"513",
"-n",
"5",
"--repeats",
"1",
"--modes",
"2,3"
],
"process_ms": 2072.731592000082,
"stdout": "{\"seed_start\":61692151016558,\"seeds\":65536,\"x0\":50813,\"z0\":418868,\"width\":513,\"height\":513,\"n\":5,\"candidate_count\":17247043584,\"gpu\":\"NVIDIA GeForce RTX 3060 Laptop GPU\",\"setup_ms\":214.74635,\"comparison_equal\":true,\"rows\":[{\"mode\":2,\"kernel_samples_ms\":[566.0969238],\"kernel_median_ms\":566.0969238,\"scan_samples_ms\":[613.641925],\"scan_median_ms\":613.641925},{\"mode\":3,\"kernel_samples_ms\":[310.4040833],\"kernel_median_ms\":310.4040833,\"scan_samples_ms\":[336.619617],\"scan_median_ms\":336.619617}],\"hits\":[[61692151016558,51069,419124]]}\n",
"stderr": ""
}
},
{
"case": {
"seed": 61692151016558,
"seeds": 65536,
"x0": 50557,
"z0": 418612,
"width": 1025,
"height": 1025
},
"data": {
"seed_start": 61692151016558,
"seeds": 65536,
"x0": 50557,
"z0": 418612,
"width": 1025,
"height": 1025,
"n": 5,
"candidate_count": 68853760000,
"gpu": "NVIDIA GeForce RTX 3060 Laptop GPU",
"setup_ms": 229.882141,
"comparison_equal": true,
"rows": [
{
"mode": 2,
"kernel_samples_ms": [
2155.086914
],
"kernel_median_ms": 2155.086914,
"scan_samples_ms": [
2335.14515
],
"scan_median_ms": 2335.14515
},
{
"mode": 3,
"kernel_samples_ms": [
1197.010986
],
"kernel_median_ms": 1197.010986,
"scan_samples_ms": [
1297.136859
],
"scan_median_ms": 1297.136859
}
],
"hits": [
[
61692151016558,
51069,
419124
]
]
},
"raw": {
"command": [
"/mnt/d/dev/slime/show/bin/cuda_steps",
"--seed",
"61692151016558",
"--seeds",
"65536",
"--x0",
"50557",
"--z0",
"418612",
"--width",
"1025",
"--height",
"1025",
"-n",
"5",
"--repeats",
"1",
"--modes",
"2,3"
],
"process_ms": 7595.587693000198,
"stdout": "{\"seed_start\":61692151016558,\"seeds\":65536,\"x0\":50557,\"z0\":418612,\"width\":1025,\"height\":1025,\"n\":5,\"candidate_count\":68853760000,\"gpu\":\"NVIDIA GeForce RTX 3060 Laptop GPU\",\"setup_ms\":229.882141,\"comparison_equal\":true,\"rows\":[{\"mode\":2,\"kernel_samples_ms\":[2155.086914],\"kernel_median_ms\":2155.086914,\"scan_samples_ms\":[2335.14515],\"scan_median_ms\":2335.14515},{\"mode\":3,\"kernel_samples_ms\":[1197.010986],\"kernel_median_ms\":1197.010986,\"scan_samples_ms\":[1297.136859],\"scan_median_ms\":1297.136859}],\"hits\":[[61692151016558,51069,419124]]}\n",
"stderr": ""
}
},
{
"case": {
"seed": 61692151016558,
"seeds": 65536,
"x0": 50045,
"z0": 418100,
"width": 2049,
"height": 2049
},
"data": {
"seed_start": 61692151016558,
"seeds": 65536,
"x0": 50045,
"z0": 418100,
"width": 2049,
"height": 2049,
"n": 5,
"candidate_count": 275146407936,
"gpu": "NVIDIA GeForce RTX 3060 Laptop GPU",
"setup_ms": 218.339333,
"comparison_equal": true,
"rows": [
{
"mode": 2,
"kernel_samples_ms": [
8471.788086
],
"kernel_median_ms": 8471.788086,
"scan_samples_ms": [
9178.481975
],
"scan_median_ms": 9178.481975
},
{
"mode": 3,
"kernel_samples_ms": [
4668.789551
],
"kernel_median_ms": 4668.789551,
"scan_samples_ms": [
5058.365918
],
"scan_median_ms": 5058.365918
}
],
"hits": [
[
61692151016558,
51069,
419124
]
]
},
"raw": {
"command": [
"/mnt/d/dev/slime/show/bin/cuda_steps",
"--seed",
"61692151016558",
"--seeds",
"65536",
"--x0",
"50045",
"--z0",
"418100",
"--width",
"2049",
"--height",
"2049",
"-n",
"5",
"--repeats",
"1",
"--modes",
"2,3"
],
"process_ms": 28857.863240999905,
"stdout": "{\"seed_start\":61692151016558,\"seeds\":65536,\"x0\":50045,\"z0\":418100,\"width\":2049,\"height\":2049,\"n\":5,\"candidate_count\":275146407936,\"gpu\":\"NVIDIA GeForce RTX 3060 Laptop GPU\",\"setup_ms\":218.339333,\"comparison_equal\":true,\"rows\":[{\"mode\":2,\"kernel_samples_ms\":[8471.788086],\"kernel_median_ms\":8471.788086,\"scan_samples_ms\":[9178.481975],\"scan_median_ms\":9178.481975},{\"mode\":3,\"kernel_samples_ms\":[4668.789551],\"kernel_median_ms\":4668.789551,\"scan_samples_ms\":[5058.365918],\"scan_median_ms\":5058.365918}],\"hits\":[[61692151016558,51069,419124]]}\n",
"stderr": ""
}
}
]
}