https://github.com/halide/Halide
Raw File
Tip revision: 46d8e9e0cdae456489f1eddfd6d829956fc3c843 authored by Steven Johnson on 14 February 2018, 23:10:30 UTC
Merge pull request #2750 from halide/srj-llvm
Tip revision: 46d8e9e
Lerp.h
#ifndef HALIDE_LERP_H
#define HALIDE_LERP_H

/** \file
 * Defines methods for converting a lerp intrinsic into Halide IR.
 */

#include "IR.h"

namespace Halide {
namespace Internal {

/** Build Halide IR that computes a lerp. Use by codegen targets that
 * don't have a native lerp. */
Expr lower_lerp(Expr zero_val, Expr one_val, Expr weight);

}
}

#endif
back to top