https://github.com/halide/Halide
Raw File
Tip revision: e87f0618dc15400f9c4040e606f3bd56fc643692 authored by Andrew Adams on 23 September 2018, 21:40:26 UTC
Merge branch 'master' into compute_at_guard_with_if_goes_on_stack
Tip revision: e87f061
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