|
tvm
|
The information about a TensorIR block, it contains two categories of information 1) Info on the block scope rooted at a specific block, including dependency tracking, flags indicating if the scope is a stage pipeline, etc. 2) Info on the block itself, including if the block has a quasi-affine binding, if the regions it reads are completely covered by their producers, etc. More...
#include <state.h>
Public Member Functions | |
| SBlockInfo ()=default | |
| SBlockInfo (SBlockScope scope, bool affine_binding=false, bool region_cover=false, bool stage_pipeline=false) | |
Public Attributes | |
| SBlockScope | scope {ffi::UnsafeInit()} |
| Property of a block scope rooted at the block, storing dependencies in the scope. | |
| bool | affine_binding {false} |
| Property of a block, indicating the block realization binding is quasi-affine. | |
| bool | region_cover {false} |
| Property of a block, indicating each of the block's read regions is fully produced by its producers. | |
| bool | stage_pipeline {false} |
| This property indicates that the block scope (rooted at its corresponding block) is equivalent to of a stage pipeline. Under the following conditions: | |
The information about a TensorIR block, it contains two categories of information 1) Info on the block scope rooted at a specific block, including dependency tracking, flags indicating if the scope is a stage pipeline, etc. 2) Info on the block itself, including if the block has a quasi-affine binding, if the regions it reads are completely covered by their producers, etc.
|
default |
|
inlineexplicit |
Property of a block, indicating the block realization binding is quasi-affine.
Property of a block, indicating each of the block's read regions is fully produced by its producers.
| SBlockScope tvm::s_tir::SBlockInfo::scope {ffi::UnsafeInit()} |
Property of a block scope rooted at the block, storing dependencies in the scope.
This property indicates that the block scope (rooted at its corresponding block) is equivalent to of a stage pipeline. Under the following conditions:
1) The region cover property holds for every of its child blocks 2) No write-after-read dependency or opaque dependency, only read-after-write and write-after-write are allowed 3) All the statements in the scope are schedulable statements, i.e. SBlock and For