https://github.com/halide/Halide
Raw File
Tip revision: c8b85d529c7a86b0685cbfd5a08a6ea67e2de5e2 authored by Steven Johnson on 19 February 2019, 20:18:10 UTC
Merge branch 'master' into webassembly
Tip revision: c8b85d5
VectorizeLoops.h
#ifndef HALIDE_VECTORIZE_LOOPS_H
#define HALIDE_VECTORIZE_LOOPS_H

/** \file
 * Defines the lowering pass that vectorizes loops marked as such
 */

#include "IR.h"
#include "Target.h"

namespace Halide {
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(Stmt s, const Target &t);

}  // namespace Internal
}  // namespace Halide

#endif
back to top