Revision a3cac6513d39c01592fa92e77aee1f5033e0209a authored by Dan Palermo on 14 June 2021, 18:29:20 UTC, committed by Dan Palermo on 14 June 2021, 18:29:20 UTC
1 parent 08cc265
AddParameterChecks.h
#ifndef HALIDE_INTERNAL_ADD_PARAMETER_CHECKS_H
#define HALIDE_INTERNAL_ADD_PARAMETER_CHECKS_H
/** \file
*
* Defines the lowering pass that adds the assertions that validate
* scalar parameters.
*/
#include <vector>
#include "Expr.h"
#include "Target.h"
namespace Halide {
namespace Internal {
/** Insert checks to make sure that all referenced parameters meet
* their constraints. Also injects any custom requirements provided
* by the user. */
Stmt add_parameter_checks(const std::vector<Stmt> &requirements, Stmt s, const Target &t);
} // namespace Internal
} // namespace Halide
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...