https://github.com/halide/Halide
Raw File
Tip revision: 1714e0ddf5a19987a3ae5e31688f1af1d0810b33 authored by Steven Johnson on 11 December 2017, 21:56:12 UTC
Merge branch 'master' into srj-appmake2
Tip revision: 1714e0d
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 "IR.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);

}
}

#endif
back to top