https://github.com/halide/Halide
Raw File
Tip revision: 661258a6eb19902697deda5fb7eb63ee8e54ef4a authored by Xuanda Yang on 06 November 2023, 23:46:16 UTC
add missing serialization of Dim::partition_policy
Tip revision: 661258a
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