|
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. | |
Static Public Member Functions | |
| static bool | needsLocks (bool unsynchronized, int64_t full, int64_t depth, bool filled, bool rearmed) |
| The same rule on plain facts, for the pools the split has not made yet. | |
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.
|
inlinestatic |
The same rule on plain facts, for the pools the split has not made yet.
Definition at line 31 of file AIEPoolLocks.h.
| 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.
References needsLocks().
Referenced by needsLocks().
|
inline |
The aiex.dma_channel_reset_for ops re-arming each fifo, by fifo name.
Definition at line 40 of file AIEPoolLocks.h.