4 ms·
Curious if you have encountered Halide (http://halide-lang.org/ http://halide-lang.org/) and if so, your impression or thoughts. The main advantage is being abl
by ttd 8y ago
Curious if you have encountered Halide (http://halide-lang.org/ http://halide-lang.org/) and if so, your impression or thoughts. The main advantage is being able to easily express optimizations like the one you mentioned, allowing you to experiment with different optimization parameters/ideas more quickly.
- 0xfaded 8y agoI actually drew inspiration from halide. I think it performs well because memory access / cache misses are more expensive than a few extra instructions, but it has its limits. For example, I'm not sure how you'd implement the in-register 90-degree rotation in halide. Therefore you'd probably wind up with an extra round trip to L1. Impressive, but definitely beatable given sufficient free time.