https://github.com/halide/Halide
Raw File
Tip revision: f7b1f82ea453b422070253dd80c2ee91b0938691 authored by Jing Pu on 27 August 2018, 20:50:51 UTC
Conditionally run associativity prover in .reorder.
Tip revision: f7b1f82
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 "IR.h"

namespace Halide {

struct Target;

namespace Internal {

/** Insert checks to make sure that all referenced parameters meet
 * their constraints. */
Stmt add_parameter_checks(Stmt s, const Target &t);

}  // namespace Internal
}  // namespace Halide

#endif
back to top