https://github.com/halide/Halide
Raw File
Tip revision: ba1dedd02abd88b491213beb3ad82db8e28e09df authored by Andrew Adams on 31 March 2023, 21:07:14 UTC
Avoiding having shader kernels depend on host arch/os by unsetting it
Tip revision: ba1dedd
RebaseLoopsToZero.h
#ifndef HALIDE_REBASE_LOOPS_TO_ZERO_H
#define HALIDE_REBASE_LOOPS_TO_ZERO_H

/** \file
 * Defines the lowering pass that rewrites loop mins to be 0.
 */

#include "Expr.h"

namespace Halide {
namespace Internal {

/** Rewrite the mins of most loops to 0. */
Stmt rebase_loops_to_zero(const Stmt &);

}  // namespace Internal
}  // namespace Halide

#endif
back to top