Compiler

As you've seen in last sectionarrow-up-right, the hand-write optimization codes contain lots of intrinsic function calls which depend on hardware. Primary backends of Halide use LLVM for low level code generation, which can supports different hardware architectures. We won't go into details on this topic, you can check [1] for more information.

Halide compiler [2]

References

[1] Ragan-Kelley, Jonathan, et al. "Halide: a language and compiler for optimizing parallelism, locality, and recomputation in image processing pipelines." Acm Sigplan Notices 48.6 (2013): 519-530.

[2] MIT CSAIL lecture notesarrow-up-right

Last updated