https://github.com/halide/Halide
Raw File
Tip revision: b87f2b1a77776367b2f2080e4331aaaba25f0fd7 authored by Alex Reinking on 29 August 2024, 16:54:41 UTC
Fix _Float16 detection on ARM64 GCC<13 (#8401)
Tip revision: b87f2b1
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