https://github.com/halide/Halide
Raw File
Tip revision: 083534f8d4b5fe4a835a33d9b9d69507f312be83 authored by Zalman Stern on 07 July 2018, 15:56:04 UTC
Add stdio.h includes per https://github.com/halide/Halide/issues/3102 .
Tip revision: 083534f
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