https://github.com/halide/Halide
Raw File
Tip revision: 444b08df4408a255572cfa0472fec69756696919 authored by Ahmed Taei on 05 March 2019, 19:51:07 UTC
Add apps/resnet_50 benchmarks to test_apps
Tip revision: 444b08d
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