https://github.com/halide/Halide
Raw File
Tip revision: 01fc0a0188917e90d9ce3de022f59a341848c04b authored by Andrew Adams on 21 February 2023, 17:03:23 UTC
Fix handling of strides other than one
Tip revision: 01fc0a0
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