|
Halide
13.0.4
Halide compiler and libraries
|
StubOutputBuffer is the placeholder that a Stub uses when it requires a Buffer for an output (rather than merely a Func). More...
#include <Generator.h>
Inherits Halide::Internal::StubOutputBufferBase.
Public Member Functions | |
| StubOutputBuffer ()=default | |
Public Member Functions inherited from Halide::Internal::StubOutputBufferBase | |
| Realization | realize (std::vector< int32_t > sizes) |
| template<typename... Args> | |
| Realization | realize (Args &&...args) |
| template<typename Dst > | |
| void | realize (Dst dst) |
Additional Inherited Members | |
Protected Member Functions inherited from Halide::Internal::StubOutputBufferBase | |
| void | check_scheduled (const char *m) const |
| Target | get_target () const |
| StubOutputBufferBase () | |
| StubOutputBufferBase (const Func &f, const std::shared_ptr< GeneratorBase > &generator) | |
Protected Attributes inherited from Halide::Internal::StubOutputBufferBase | |
| Func | f |
| std::shared_ptr< GeneratorBase > | generator |
StubOutputBuffer is the placeholder that a Stub uses when it requires a Buffer for an output (rather than merely a Func).
It is constructed to allow only two possible sorts of things: – Assignment to an Output<Buffer<>>, with compatible type and dimensions, essentially allowing us to pipe a parameter from the result of a Stub to an enclosing Generator – Realization into a Buffer<>; this is useful only in JIT compilation modes (and shouldn't be usable otherwise)
It is deliberate that StubOutputBuffer is not (easily) convertible to Func.
Definition at line 1358 of file Generator.h.
|
default |