Jay Taylor's notes

back to listing index

Submit Solution | Kernel Optimization Challenge

[web search]
Original source (www.kerneloptimization.fun)
Tags: benchmarking anthropic www.kerneloptimization.fun
Clipped on: 2026-01-30

Submit Your Solution

Optimize the build_kernel method to minimize CPU cycles.

Your build_kernel Method

35,904 / 102,400 characters

Error

Tests failed. Ensure your solution passes all correctness tests.

Test 1 of 4 failed

Parameters: forest_height=10, rounds=16, batch_size=256

Failure: Incorrect output indices

Tip: Your solution is tested with varying tree depths (8-10), rounds (8-20), and batch sizes (128-256). Make sure it doesn't hardcode for specific values.

How to Submit

Submit your optimized build_kernel method. Click "Load Starter Code" to see the baseline implementation.

Benchmarks:

  • Baseline: 147,734 cycles
  • Recruiting threshold: 1,487 cycles

Testing Info:

Your solution is tested with 4 different parameter combinations:

  • Tree depths: 8-10
  • Rounds: 8-20
  • Batch sizes: 128-256

Make sure your solution is general and doesn't hardcode for specific values.