Halide 13.0.2
Halide compiler and libraries
Lerp.h
Go to the documentation of this file.
1#ifndef HALIDE_LERP_H
2#define HALIDE_LERP_H
3
4/** \file
5 * Defines methods for converting a lerp intrinsic into Halide IR.
6 */
7
8#include "Expr.h"
9
10namespace Halide {
11namespace Internal {
12
13/** Build Halide IR that computes a lerp. Use by codegen targets that
14 * don't have a native lerp. */
15Expr lower_lerp(Expr zero_val, Expr one_val, const Expr &weight);
16
17} // namespace Internal
18} // namespace Halide
19
20#endif
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Expr lower_lerp(Expr zero_val, Expr one_val, const Expr &weight)
Build Halide IR that computes a lerp.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
A fragment of Halide syntax.
Definition: Expr.h:256