A good do-it-yourself exercise is to write the code above yourself in C, then try the Halide equivalent, and compare the performance.
A good do-it-yourself exercise is to write the code above yourself in C, then try the Halide equivalent, and compare the performance.