Loading...
Searching...
No Matches
AddParameterChecks.h
Go to the documentation of this file.
#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
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt).
Target.h
Defines the structure that describes a Halide target.
Halide::Internal
Definition AbstractGenerator.h:24
Halide::Internal::add_parameter_checks
Stmt add_parameter_checks(const std::vector< Stmt > &requirements, Stmt s, const Target &t)
Insert checks to make sure that all referenced parameters meet their constraints.
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition AbstractGenerator.h:19
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427
Halide::Target
A struct representing a target machine and os to generate code for.
Definition Target.h:19