Loading...
Searching...
No Matches
LoopPartitioningDirective.h
Go to the documentation of this file.
#ifndef HALIDE_LOOP_PARTITIONING_DIRECTIVE_H
#define HALIDE_LOOP_PARTITIONING_DIRECTIVE_H
/** \file
* Defines the Partition enum.
*/
#include <string>
#include "Expr.h"
#include "Parameter.h"
namespace Halide {
/** Different ways to handle loops with a potentially optimizable boundary conditions. */
enum class Partition {
/** Automatically let Halide decide on Loop Parititioning. */
Auto,
/** Disallow loop partitioning. */
Never,
/** Force partitioning of the loop, even in the tail cases of outer
* partitioned loops. If Halide can't find a way to partition this loop, it
* will raise an error. */
Always
};
} // namespace Halide
#endif // HALIDE_LOOP_PARTITIONING_DIRECTIVE_H
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt).
Parameter.h
Defines the internal representation of parameters to halide piplines.
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition AbstractGenerator.h:19
Halide::MemoryType::Auto
@ Auto
Let Halide select a storage type automatically.
Definition Expr.h:355
Halide::Partition
Partition
Different ways to handle loops with a potentially optimizable boundary conditions.
Definition LoopPartitioningDirective.h:16
Halide::Partition::Always
@ Always
Force partitioning of the loop, even in the tail cases of outer partitioned loops.
Definition LoopPartitioningDirective.h:26
Halide::Partition::Never
@ Never
Disallow loop partitioning.
Definition LoopPartitioningDirective.h:21