https://github.com/halide/Halide
Raw File
Tip revision: 53577e5376bc897a6ea0c16cac88b10d88e8ceac authored by Andrew Adams on 11 November 2023, 16:58:06 UTC
More targeted fix for gather instructions being slow on intel processors
Tip revision: 53577e5
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