Revision 288526cf7500f496c36eb0e74500e4fd4547b6fb authored by Dillon Sharlet on 28 January 2021, 17:52:16 UTC, committed by GitHub on 28 January 2021, 17:52:16 UTC
* Encapsulate more symbols.
1 parent f427ad1
VectorizeLoops.h
#ifndef HALIDE_VECTORIZE_LOOPS_H
#define HALIDE_VECTORIZE_LOOPS_H
/** \file
* Defines the lowering pass that vectorizes loops marked as such
*/
#include "Expr.h"
#include "Function.h"
#include <map>
namespace Halide {
struct Target;
namespace Internal {
/** Take a statement with for loops marked for vectorization, and turn
* them into single statements that operate on vectors. The loops in
* question must have constant extent.
*/
Stmt vectorize_loops(const Stmt &s, const std::map<std::string, Function> &env, const Target &t);
} // namespace Internal
} // namespace Halide
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...