BinaryRepeatParams
==================

BinaryRepeatParams为用于控制操作数地址步长的数据结构。结构体内包含操作数相邻迭代间相同datablock的地址步长，操作数同一迭代内不同datablock的地址步长等参数。

结构体具体定义为：

const int32\_t DEFAULT\_BLK\_NUM = 8;
const int32\_t DEFAULT\_BLK\_STRIDE = 1;
const uint8\_t DEFAULT\_REPEAT\_STRIDE = 8;
 
struct BinaryRepeatParams {
    \_\_aicore\_\_ BinaryRepeatParams()
    {
        blockNumber = DEFAULT\_BLK\_NUM;
        dstBlkStride = DEFAULT\_BLK\_STRIDE;
        src0BlkStride = DEFAULT\_BLK\_STRIDE;
        src1BlkStride = DEFAULT\_BLK\_STRIDE;
        dstRepStride = DEFAULT\_REPEAT\_STRIDE;
        src0RepStride = DEFAULT\_REPEAT\_STRIDE;
        src1RepStride = DEFAULT\_REPEAT\_STRIDE;
    }
    \_\_aicore\_\_ BinaryRepeatParams(const uint8\_t dstBlkStrideIn, const uint8\_t src0BlkStrideIn,
        const uint8\_t src1BlkStrideIn, const uint8\_t dstRepStrideIn, const uint8\_t src0RepStrideIn,
        const uint8\_t src1RepStrideIn)
    {
        dstBlkStride = dstBlkStrideIn;
        src0BlkStride = src0BlkStrideIn;
        src1BlkStride = src1BlkStrideIn;
        dstRepStride = dstRepStrideIn;
        src0RepStride = src0RepStrideIn;
        src1RepStride = src1RepStrideIn;
    }
    uint32\_t blockNumber = 0;
    uint8\_t dstBlkStride = 0;
    uint8\_t src0BlkStride = 0;
    uint8\_t src1BlkStride = 0;
    uint8\_t dstRepStride = 0;
    uint8\_t src0RepStride = 0;
    uint8\_t src1RepStride = 0;
    bool repeatStrideMode = false;
    bool strideSizeMode = false;
};

其中，blockNumber，repeatStrideMode和strideSizeMode为保留参数，开发者无需关心，使用默认值即可。开发者需要自行定义dataBlockStride参数，包含dstBlkStride，src0BlkStride和src1BlkStride，以及repeatStride参数，包含dstRepStride，src0RepStride和src1RepStride。