Revision 6512634130fe91f21916779e78dde245ea88aaec authored by Tzu-Mao Li on 28 October 2019, 15:19:00 UTC, committed by Tzu-Mao Li on 28 October 2019, 15:19:00 UTC
2 parent s 75635fd + af10cd7
Raw File
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