encyclopegia.org

Halide (programming language)

Halide is a computer programming language designed for writing digital image processing code that takes advantage of memory locality, vectorized computation and multi-core central processing units (CPU) and graphics processing units (GPU). Halide is implemented as an internal domain-specific language (DSL) in C++. Halide was announced by MIT in 2012 and released in 2013.

Halide is a computer programming language designed for writing digital image processing code that takes advantage of memory locality, vectorized computation and multi-core central processing units (CPU) and graphics processing units (GPU). Halide is implemented as an internal domain-specific language (DSL) in C++. Halide was announced by MIT in 2012 and released in 2013. ==Purpose== The main innovation Halide brings is the separation of the algorithm being implemented from its execution schedule, i.e. code specifying the loop nesting, parallelization, loop unrolling and vector instruction. These two are usually interleaved together and experimenting with changing the schedule requires the programmer to rewrite large portions of the algorithm with every change. With Halide, changing the schedule does not require any changes to the algorithm, allowing the programmer to experiment with scheduling. Func blur_3x3(Func input) { Func blur_x, blur_y; Var x, y, xi, yi; // The algorithm - no storage or order blur_x(x, y) = (input(x-1, y) + input(x, y) + input(x+1, y))/3; blur_y(x, y) = (blur_x(x, y-1) + blur_x(x, y) + blur_x(x, y+1))/3; // The schedule - defines order, locality; implies storage blur_y.tile(x, y, xi, yi, 256, 32) .vectorize(xi, 8).parallel(y); blur_x.compute_at(blur_y, x).vectorize(x, 8); return blur_y; } ==Uses and development== Halide was developed primarily at MIT's CSAIL lab. Both Google and Adobe have been involved in Halide research. Google uses Halide in Pixel 2's Pixel Visual Core. Adobe Photoshop also uses Halide.

References

No reference rows published for this article.

Cite this article

MLA

"Halide (programming language)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/halide-programming-language. Accessed 24 November 2026.

Chicago

"Halide (programming language)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/halide-programming-language.

APA

encyclopegia.org. (2026). Halide (programming language). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/halide-programming-language

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date2013Wikipedia

Related articles

Kheyrabad, Bostanabad

enwiki · references available

Kim Hu-ran

enwiki · references available

Qarah Kowshan

enwiki · references available

Viswas Raghavan

enwiki · references available

Christian Ernst Graf

enwiki · references available

Rupert Ignaz Mayr

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1374838245 · 0.5 · snapshot enwiki-001374838245

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.