MLIR-AIE 1.4.5.dev
xilinx::AIEX::NdDmaPattern Struct Reference

Innermost-first ND access pattern (d0..d3 / repeat), matching the convention used by verifyStridesWraps and NpuDmaMemcpyNdOp verification. More...

#include "aie/Dialect/AIEX/Utils/DmaDecomposition.h"

Collaboration diagram for xilinx::AIEX::NdDmaPattern:

Public Attributes

llvm::SmallVector< int64_t, kNdDmaDims > offsets
llvm::SmallVector< int64_t, kNdDmaDims > sizes
llvm::SmallVector< int64_t, kNdDmaDims > strides
int64_t baseOffset = 0
 Elements added to the address the offsets give.

Detailed Description

Innermost-first ND access pattern (d0..d3 / repeat), matching the convention used by verifyStridesWraps and NpuDmaMemcpyNdOp verification.

A runtime-sequence task BD may give more than kNdDmaDims dimensions, all of the ones past d2 iteration dimensions; decomposeNdDmaPattern reduces it to kNdDmaDims-dimension patterns.

Definition at line 45 of file DmaDecomposition.h.

Member Data Documentation

◆ baseOffset

int64_t xilinx::AIEX::NdDmaPattern::baseOffset = 0

Elements added to the address the offsets give.

Carries the position of a pattern peeled off the dimensions past kNdDmaDims, which no dimension of the peeled pattern can express.

Definition at line 52 of file DmaDecomposition.h.

◆ offsets

llvm::SmallVector<int64_t, kNdDmaDims> xilinx::AIEX::NdDmaPattern::offsets

Definition at line 46 of file DmaDecomposition.h.

Referenced by aieDmaBdFits().

◆ sizes

llvm::SmallVector<int64_t, kNdDmaDims> xilinx::AIEX::NdDmaPattern::sizes

Definition at line 47 of file DmaDecomposition.h.

Referenced by aieDmaBdFits().

◆ strides

llvm::SmallVector<int64_t, kNdDmaDims> xilinx::AIEX::NdDmaPattern::strides

Definition at line 48 of file DmaDecomposition.h.

Referenced by aieDmaBdFits().


The documentation for this struct was generated from the following file: