Halide 19.0.0
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 , int D2> | |
StubInputBuffer (const Buffer< T2, D2 > &b) | |
Static Public Member Functions | |
template<typename T2 > | |
static std::vector< Parameter > | to_parameter_vector (const StubInputBuffer< T2 > &t) |
template<typename T2 > | |
static std::vector< Parameter > | to_parameter_vector (const std::vector< StubInputBuffer< T2 > > &v) |
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 1264 of file Generator.h.
|
default |
|
inline |
Definition at line 1299 of file Generator.h.
|
inlinestatic |
Definition at line 1304 of file Generator.h.
|
inlinestatic |
Definition at line 1309 of file Generator.h.