https://github.com/halide/Halide
Raw File
Tip revision: ddb393fec3a8716aef88635b6ae2fcdb3a1775ea authored by Andrew Adams on 12 January 2019, 06:30:34 UTC
Merge branch 'standalone_autoscheduler_arm_worker' of https://github.com/halide/halide into standalone_autoscheduler_arm_worker
Tip revision: ddb393f
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