https://github.com/halide/Halide
Raw File
Tip revision: f5120c36d2da66a297721ee9876a7796c8da926f authored by Ahmed Taei on 13 June 2019, 21:12:52 UTC
Fix cuda nan_f32 value
Tip revision: f5120c3
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 "IR.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