https://github.com/halide/Halide
Raw File
Tip revision: eda8e9f25e957b2c662078946caa3b5fe2118b66 authored by Steven Johnson on 30 May 2019, 18:20:56 UTC
Merge branch 'master' into srj-alloc
Tip revision: eda8e9f
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