https://github.com/halide/Halide
Raw File
Tip revision: d1c71d0547219266418ea410e090d7d82c41711f authored by Steven Johnson on 15 December 2021, 00:59:07 UTC
Merge branch 'master' into abadams/cse_in_unroll_split_tuples
Tip revision: d1c71d0
UnpackBuffers.h
#ifndef HALIDE_UNPACK_BUFFERS_H
#define HALIDE_UNPACK_BUFFERS_H

/** \file
 * Defines the lowering pass that unpacks buffer arguments onto the symbol table
 */

#include "Expr.h"

namespace Halide {
namespace Internal {

/** Creates let stmts for the various buffer components
 * (e.g. foo.extent.0) in any referenced concrete buffers or buffer
 * parameters. After this pass, the only undefined symbols should
 * scalar parameters and the buffers themselves (e.g. foo.buffer). */
Stmt unpack_buffers(Stmt s);

}  // namespace Internal
}  // namespace Halide

#endif
back to top