Finding tall stacks of chest minecarts.
We have the total chunk area:
x: -1875000 -- 1875000
z: -1875000 -- 1875000
Divided into batches of 100x100 chunks:
bx: -18750 -- 18750
bz: -18750 -- 18750
By encoding these coordinates as (bx+18750)*37500 + (bz+18750),
we get the following range of possible task IDs: [0, 1406287500]
Compile using
g++ carver_reversal.cpp chest_sim.cpp cpu_checker.cpp -O3 -o cpu_checker
then run with:
./cpu_checker --start [task_id] --end [task_id] --threads [num_threads]
where --start defines the inclusive start of the task id range, and --end defines the exclusive end.
Compile using
nvcc hybrid_checker.cu -O3 -o gpu_checker
then run with:
./gpu_checker --start [task_id] --end [task_id] --threads [num_threads]
where --start defines the inclusive start of the task id range, and --end defines the exclusive end.