High-performance computing on your laptop I: inference, compilation, and performance measurement