Revision a3ee5f7cbd65d4e37a0cca7da81aa1a3bf45de53 authored by Steven Johnson on 31 July 2018, 00:56:30 UTC, committed by GitHub on 31 July 2018, 00:56:30 UTC
Add missing #include to HexagonAlignment.h
Lower.h
#ifndef HALIDE_INTERNAL_LOWER_H
#define HALIDE_INTERNAL_LOWER_H
/** \file
*
* Defines the function that generates a statement that computes a
* Halide function using its schedule.
*/
#include <iterator>
#include "Argument.h"
#include "IR.h"
#include "Module.h"
#include "Target.h"
namespace Halide {
namespace Internal {
class IRMutator2;
/** Given a vector of scheduled halide functions, create a Module that
* evaluates it. Automatically pulls in all the functions f depends
* on. Some stages of lowering may be target-specific. The Module may
* contain submodules for computation offloaded to another execution
* engine or API as well as buffers that are used in the passed in
* Stmt. Multiple LoweredFuncs are added to support legacy buffer_t
* calling convention. */
Module lower(const std::vector<Function> &output_funcs, const std::string &pipeline_name, const Target &t,
const std::vector<Argument> &args, const LinkageType linkage_type,
const std::vector<IRMutator2 *> &custom_passes = std::vector<IRMutator2 *>());
/** Given a halide function with a schedule, create a statement that
* evaluates it. Automatically pulls in all the functions f depends
* on. Some stages of lowering may be target-specific. Mostly used as
* a convenience function in tests that wish to assert some property
* of the lowered IR. */
Stmt lower_main_stmt(const std::vector<Function> &output_funcs, const std::string &pipeline_name, const Target &t,
const std::vector<IRMutator2 *> &custom_passes = std::vector<IRMutator2 *>());
void lower_test();
} // namespace Internal
} // namespace Halide
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...