https://github.com/halide/Halide
Raw File
Tip revision: cb0eeea6cc5a3c1bc01b528fe5ff505fdb10bc28 authored by Steven Johnson on 09 March 2022, 23:48:28 UTC
Fix TSAN-reported data races in profiler shutdown code
Tip revision: cb0eeea
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