https://github.com/halide/Halide
Raw File
Tip revision: 462a145f381e20063d3d7a20518216f9bd2dde00 authored by Dan Palermo on 10 January 2019, 03:06:45 UTC
Added support for halide_hexagon_set_thread_priority()
Tip revision: 462a145
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