https://github.com/halide/Halide
Raw File
Tip revision: b8ad19f53f2ee18c4dbf719c98c6a279aca5cc0e authored by Andrew Adams on 11 August 2020, 19:12:57 UTC
Schedule last stage of stencil chain on GPU too
Tip revision: b8ad19f
TrimNoOps.h
#ifndef TRIM_NO_OPS_H
#define TRIM_NO_OPS_H

/** \file
 * Defines a lowering pass that truncates loops to the region over
 * which they actually do something.
 */

#include "Expr.h"

namespace Halide {
namespace Internal {

/** Truncate loop bounds to the region over which they actually do
 * something. For examples see test/correctness/trim_no_ops.cpp */
Stmt trim_no_ops(Stmt s);

}  // namespace Internal
}  // namespace Halide

#endif
back to top