|
MLIR-AIE 1.4.6.dev
|
Which of a device's objectFIFO pools get locks, read once from its endpoints and its aiex.dma_channel_reset_for ops. More...
#include "aie/Dialect/AIE/Transforms/AIEPoolLocks.h"
Public Member Functions | |
| PoolLocks (DeviceOp device) | |
| bool | needsLocks (ObjectFifoPoolOp pool) const |
| Whether pool gets locks. | |
| const llvm::StringMap< llvm::SmallVector< AIEX::DmaChannelResetForOp > > & | rearms () const |
| The aiex.dma_channel_reset_for ops re-arming each fifo, by fifo name. | |
Which of a device's objectFIFO pools get locks, read once from its endpoints and its aiex.dma_channel_reset_for ops.
Definition at line 22 of file AIEPoolLocks.h.
|
explicit |
Definition at line 14 of file AIEPoolLocks.cpp.
| bool PoolLocks::needsLocks | ( | ObjectFifoPoolOp | pool | ) | const |
Whether pool gets locks.
One with synchronization disabled does not, nor one that starts full, is never refilled and is not re-armed each launch: it holds constants its readers have nothing to wait for.
Definition at line 33 of file AIEPoolLocks.cpp.
|
inline |
The aiex.dma_channel_reset_for ops re-arming each fifo, by fifo name.
Definition at line 33 of file AIEPoolLocks.h.