Annotate the region where the buffer need to be read and write in the body. We only need to allocate the space for the corresponding region.
More...
#include <stmt.h>
Annotate the region where the buffer need to be read and write in the body. We only need to allocate the space for the corresponding region.
- Note
- There should be at most one BufferRealize for each buffer. BufferRealize is not necessary for external buffers, since they are assumed to be fully allocated.
- See also
- BufferLoad, BufferStore
◆ BufferRealizeNode() [1/2]
tvm::tir::BufferRealizeNode::BufferRealizeNode |
( |
| ) |
|
|
default |
◆ BufferRealizeNode() [2/2]
◆ RegisterReflection()
static void tvm::tir::BufferRealizeNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()
◆ body
Stmt tvm::tir::BufferRealizeNode::body |
◆ bounds
ffi::Array<Range> tvm::tir::BufferRealizeNode::bounds |
◆ buffer
Buffer tvm::tir::BufferRealizeNode::buffer |
◆ condition
PrimExpr tvm::tir::BufferRealizeNode::condition |
Only realize if condition holds.
The documentation for this class was generated from the following file: