Halide
12.0.1
Halide compiler and libraries
|
StubInputBuffer is the placeholder that a Stub uses when it requires a Buffer for an input (rather than merely a Func or Expr). More...
#include <Generator.h>
Public Member Functions | |
StubInputBuffer ()=default | |
template<typename T2 > | |
StubInputBuffer (const Buffer< T2 > &b) | |
StubInputBuffer is the placeholder that a Stub uses when it requires a Buffer for an input (rather than merely a Func or Expr).
It is constructed to allow only two possible sorts of input: – Assignment of an Input<Buffer<>>, with compatible type and dimensions, essentially allowing us to pipe a parameter from an enclosing Generator to an internal Stub. – Assignment of a Buffer<>, with compatible type and dimensions, causing the Input<Buffer<>> to become a precompiled buffer in the generated code.
Definition at line 1276 of file Generator.h.
|
default |
|
inline |
Definition at line 1309 of file Generator.h.