|
MLIR-AIE 1.4.6.dev
|
What one op in a loop body does to a channel queue. More...
#include "aie/Dialect/AIEX/Utils/DmaQueueModel.h"
Public Types | |
| enum class | Kind { Ignore , Configure , Push , Await , Free } |
Static Public Member Functions | |
| static QueueEffect | configure (DmaQueueModel::ChannelKey key, mlir::Value task) |
| static QueueEffect | push (DmaQueueModel::ChannelKey key, bool issuesToken, mlir::Value task={}) |
| static QueueEffect | await (DmaQueueModel::ChannelKey key) |
| static QueueEffect | free (DmaQueueModel::ChannelKey key, mlir::Value task) |
Public Attributes | |
| Kind | kind = Kind::Ignore |
| DmaQueueModel::ChannelKey | key {} |
| bool | issuesToken = false |
| mlir::Value | task |
What one op in a loop body does to a channel queue.
The two lowering paths spell pushes and awaits with different ops, so the fixed point below takes the classification from its caller and keeps the FIFO rule to itself.
Free is a read-only check, not a hardware event: a dma_free_task returns a buffer descriptor id to the compiler's pool without touching the channel, so it neither pushes nor retires anything here. It asks whether task's own push – the one a later pop could still be waiting behind – has already been proven complete.
Definition at line 364 of file DmaQueueModel.h.
|
strong |
| Enumerator | |
|---|---|
| Ignore | |
| Configure | |
| Push | |
| Await | |
| Free | |
Definition at line 365 of file DmaQueueModel.h.
|
inlinestatic |
Definition at line 379 of file DmaQueueModel.h.
Referenced by xilinx::AIEX::rawQueueEffect().
|
inlinestatic |
Definition at line 371 of file DmaQueueModel.h.
|
inlinestatic |
Definition at line 382 of file DmaQueueModel.h.
|
inlinestatic |
Definition at line 375 of file DmaQueueModel.h.
References issuesToken, key, and task.
Referenced by xilinx::AIEX::rawQueueEffect().
| bool xilinx::AIEX::QueueEffect::issuesToken = false |
Definition at line 368 of file DmaQueueModel.h.
Referenced by xilinx::AIEX::guardSequenceQueueDepth(), and push().
| DmaQueueModel::ChannelKey xilinx::AIEX::QueueEffect::key {} |
Definition at line 367 of file DmaQueueModel.h.
Referenced by await(), xilinx::AIEX::checkTokensConsumed(), configure(), free(), xilinx::AIEX::guardSequenceQueueDepth(), and push().
| Kind xilinx::AIEX::QueueEffect::kind = Kind::Ignore |
Definition at line 366 of file DmaQueueModel.h.
Referenced by xilinx::AIEX::checkTokensConsumed(), and xilinx::AIEX::guardSequenceQueueDepth().
| mlir::Value xilinx::AIEX::QueueEffect::task |
Definition at line 369 of file DmaQueueModel.h.
Referenced by configure(), free(), xilinx::AIEX::guardSequenceQueueDepth(), and push().