https://github.com/halide/Halide
Raw File
Tip revision: 518d6d965fd19638565d54c02caf8b77eca96005 authored by Zalman Stern on 11 October 2018, 06:56:34 UTC
Address review feedback by adding a comment and fixing an erroneous
Tip revision: 518d6d9
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