https://github.com/halide/Halide
Raw File
Tip revision: cc6e06d0a8109daee522ffd41f7f82c49e991df0 authored by Andrew Adams on 03 April 2023, 23:43:52 UTC
Increase test threshold for mullapudi histogram test
Tip revision: cc6e06d
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