halide/Halide

a language for fast, portable data-parallel computation

What it solves

Halide makes it easier to write high-performance image and array processing code on modern machines by separating the algorithm from its execution schedule.

How it works

Halide is embedded in C++ and provides full Python bindings. You write code that builds an in-memory representation of a processing pipeline using Halide's API, which can then be JIT-compiled and run or compiled to an object file using LLVM as a backend.

Who it’s for

Developers and researchers writing performance-critical image or array processing applications across various CPUs, operating systems, and GPU compute APIs.

Highlights

  • Targets multiple CPU architectures including X86, ARM, RISC-V, and WebAssembly.
  • Supports major GPU compute APIs such as CUDA, OpenCL, Metal, and Vulkan.
  • Available via package managers like pip, Homebrew, and vcpkg.
  • Embeddable directly in C++ or fully accessible through Python bindings.

Related

  • Project
  • Project
  • Project
  • Project
  • Project