library CB-Library; library CB-Library.Compute; library CB-Library.Threaded; fn main() { u256 started = time.nowUs(); u256 checksum = CB-Library.parallel_kernel(50_000_000, 256); u256 elapsed = time.nowUs() - started; println("Mode: " + CB-Library.resource_mode()); println("CPU usage goal percent: " + CB-Library.cpu_usage_goal_percent()); println("CPU worker cap: " + CB-Library.cpu_thread_budget()); println("Hardware threads: " + CB-Library.hardware_threads()); println("Affinity threads: " + CB-Library.affinity_threads()); println("Effective workers: " + CB-Library.thread_count()); println("RAM budget MB: " + CB-Library.ram_budget_mb()); println("VRAM budget MB: " + CB-Library.vram_budget_mb()); println("Loop safety budget: " + CB-Library.loop_limit()); println("Kernel elapsed us: " + elapsed); println("Kernel checksum: " + checksum); }