Debugging PTO Tile Lib (Assertions Guide)

This document helps you diagnose compilation/runtime failures caused by assertions in include/pto/.

PTO uses three common assertion mechanisms:

  • Compile-time checks: static_assert(...) in templates (fails compilation).
  • Device runtime checks: PTO_ASSERT(cond, msg) (prints a message and traps on device when _DEBUG is enabled; see include/pto/common/debug.h).
  • CPU simulator checks: assert(cond) in the CPU backend (aborts the process).

How to use this document

  1. Copy the assertion message (or find the failing file/line in the compiler output).
  2. Search this document for the assertion ID (e.g., SA-0123) or a distinctive substring.
  3. Apply the suggested fix recipe(s) referenced by the index entry.
  4. If the assertion is instruction-specific, cross-check the instruction constraints in docs/isa/.

Fix recipes (common solutions)

Use these codes referenced in the assertion index:

  • FIX-A01 Dynamic shape/stride construction: make the number of runtime constructor arguments match the number of pto::DYNAMIC dimensions in pto::Shape/pto::Stride.
  • FIX-A02 GlobalTensor::GetShape/GetStride<dim>() on dynamic dims: use the runtime GetShape(dim) / GetStride(dim) API, or make that dimension static (not pto::DYNAMIC).
  • FIX-A03 Layout::NZ divisibility: choose rows divisible by 16 and cols divisible by C0Size = (C0_SIZE_BYTE / sizeof(T)), or use a different layout.
  • FIX-A04 32-byte alignment for unboxed tiles: for row-major unboxed tiles require Cols * sizeof(T) divisible by 32; for col-major unboxed tiles require Rows * sizeof(T) divisible by 32; otherwise use boxed layout (SLayout != NoneBox) or adjust the shape.
  • FIX-A05 Valid-region compatibility: ensure GetValidRow()/GetValidCol() values match what the instruction expects (often src/dst valid sizes must match; reductions/expands have special rules).
  • FIX-A06 Unsupported dtype/layout for an instruction: change the tile element type/layout to a supported one (often float/half and row-major), or add conversion (TCVT) / movement (TMOV, TTRANS) as required by the backend.
  • FIX-A07 Event/TSYNC usage: single-op TSYNC<OpCode>() is restricted (vector-only on device); Event<SrcOp, DstOp> requires different ops and different pipeline classes—use the correct producer/consumer pair.
  • FIX-A08 TileType mismatch: use the correct tile location (Vec/Mat/Left/Right/Acc/...) for the instruction, and insert TMOV between locations when required.
  • FIX-A09 GlobalTensor shape/stride mismatch or out-of-range: ensure the 5-D shape/stride matches the intended view and obeys backend constraints (ND/DN/NZ rules, range limits for dims, and alignment restrictions).
  • FIX-A10 Gather/scatter contiguity/alignment: some gather/scatter paths require continuous rows/cols or 32B alignment—adjust valid sizes, layout, or use a different path.
  • FIX-A11 Invalid numeric domain (e.g., divide-by-zero): avoid feeding illegal inputs (add epsilon/clamp) before RECIP/RSQRT/DIV-like ops.
  • FIX-A12 TASSIGN<Addr>(tile) address/capacity error: ensure the target memory space exists on the current architecture (e.g. ScaleLeft/ScaleRight are A5-only); reduce tile dimensions (Rows/Cols) or element size so that Rows * Cols * sizeof(DType) <= capacity; choose Addr so that Addr + tile_size <= capacity and Addr is a multiple of the alignment (typically 32 bytes). Capacities can be overridden via -DPTO_xxx_SIZE_BYTES=<value> (see include/pto/common/buffer_limits.hpp).

Notes

  • Many assertions are backend- and SoC-specific (e.g., include/pto/npu/a2a3/* vs include/pto/npu/a5/*).
  • For instruction legality (tile types/layouts/supported dtypes), the authoritative reference is the instruction page under docs/isa/.

Assertion Index

Compile-time checks (static_assert)

  • SA-0001 1-parameter constructors is only applicable to Stride with 1 dynamic dimension. (At: include/pto/common/pto_tile.hpp:137 (+1); Fix: FIX-A01,FIX-A09)
  • SA-0002 2-parameter constructors is only applicable to Stride with 2 dynamic dimension. (At: include/pto/common/pto_tile.hpp:149 (+1); Fix: FIX-A01,FIX-A09)
  • SA-0003 3-parameter constructors is only applicable to Stride with 3 dynamic dimension. (At: include/pto/common/pto_tile.hpp:162 (+1); Fix: FIX-A01,FIX-A09)
  • SA-0004 4-parameter constructors is only applicable to Stride with 4 dynamic dimension. (At: include/pto/common/pto_tile.hpp:100 (+1); Fix: FIX-A01,FIX-A09)
  • SA-0005 Acc Type support int32_t or float. (At: include/pto/npu/a5/TMatmul.hpp:121; Fix: -)
  • SA-0006 BFractal_ is RowMajor and SFractal_ is NoneBox: Rows must be 32 bytes align, \ BFractal_ is ColMa… (At: include/pto/common/pto_tile.hpp:658; Fix: FIX-A04)
  • SA-0007 cols must be divisible by C0Size for Layout::NZ (At: include/pto/common/pto_tile.hpp:409 (+1); Fix: FIX-A03)
  • SA-0008 Data type must be b8/b16/b32 (At: include/pto/npu/a2a3/TRowExpand.hpp:92 (+1); Fix: -)
  • SA-0009 Data type must be b8/b16/b32/b64 (At: include/pto/npu/a5/TLoad.hpp:504; Fix: -)
  • SA-0010 Data type must be int8_t/uint8_t/int16_t/uint16_t/int32_t/uint32_t/half/bfloat16_t/float/int64_t/… (At: include/pto/npu/a2a3/TLoad.hpp:355; Fix: -)
  • SA-0011 Data type must be int8_t/uint8_t/int16_t/uint16_t/int32_t/uint32_t/int64_t/uint64_t/half/bfloat16… (At: include/pto/npu/a2a3/TStore.hpp:470; Fix: -)
  • SA-0012 Destination location only support Vec. (At: include/pto/npu/a5/TMov.hpp:369 (+2); Fix: -)
  • SA-0013 Destination SFractalSize only support 512. (At: include/pto/npu/a2a3/TMov.hpp:111; Fix: -)
  • SA-0014 Destination TileType only support Mat. (At: include/pto/npu/a2a3/TMov.hpp:110; Fix: FIX-A08)
  • SA-0015 dim 0 is dynamic, cannot be obtained using the template interface. (At: include/pto/common/pto_tile.hpp:274 (+1); Fix: FIX-A02)
  • SA-0016 dim 1 is dynamic, cannot be obtained using the template interface. (At: include/pto/common/pto_tile.hpp:279 (+1); Fix: FIX-A02)
  • SA-0017 dim 2 is dynamic, cannot be obtained using the template interface. (At: include/pto/common/pto_tile.hpp:284 (+1); Fix: FIX-A02)
  • SA-0018 dim 3 is dynamic, cannot be obtained using the template interface. (At: include/pto/common/pto_tile.hpp:289 (+1); Fix: FIX-A02)
  • SA-0019 dim 4 is dynamic, cannot be obtained using the template interface. (At: include/pto/common/pto_tile.hpp:294 (+1); Fix: FIX-A02)
  • SA-0020 DistVST DIST_NORM only support type b8/b16/b32 on current device (At: include/pto/npu/a5/utils.hpp:44; Fix: -)
  • SA-0021 DN2NZ not support if input dtype is fp4 (At: include/pto/npu/a5/TLoad.hpp:200; Fix: -)
  • SA-0022 Dst and src mube be same. (At: include/pto/npu/a5/TSort32.hpp:181; Fix: -)
  • SA-0023 Dst and src must be float or half. (At: include/pto/npu/a5/TSort32.hpp:176; Fix: -)
  • SA-0024 Dst and src must be float, half or bfloat16_t. (At: include/pto/npu/a5/TMov.hpp:243; Fix: -)
  • SA-0025 Dst and src must be half / float / int16_t / int32_t / int8_t / bfloat16_t (At: include/pto/npu/a5/TStore.hpp:85; Fix: -)
  • SA-0026 Dst and src must be half / float / int16_t / int32_t / int8_t / bfloat16_t. (At: include/pto/npu/a2a3/TStore.hpp:321; Fix: -)
  • SA-0027 Dst and src must be half or float. (At: include/pto/npu/a2a3/TSort32.hpp:156; Fix: -)
  • SA-0028 Dst and src must be same. (At: include/pto/npu/a2a3/TSort32.hpp:161; Fix: -)
  • SA-0029 Dst fractal format should be (BFractal: ColMajor, SFractal: RowMajor). (At: include/pto/npu/a2a3/TMov.hpp:117; Fix: -)
  • SA-0030 Dst Tile Cols * sizeof(dstT) must be multiples of 32 and not 0 when nz2nd. \ Dst Tile Rows * size… (At: include/pto/npu/a5/TMov.hpp:234; Fix: -)
  • SA-0031 Dst Tile Cols * sizeof(DstType) must be multiples of 32 and not 0. (At: include/pto/npu/a2a3/TMov.hpp:113; Fix: -)
  • SA-0032 Dst TileType must be Vec or Mat! (At: include/pto/npu/a2a3/TLoad.hpp:363; Fix: FIX-A08)
  • SA-0033 Dst TileType must be Vec Tile! (At: include/pto/npu/a5/TRowExpand.hpp:26; Fix: FIX-A08)
  • SA-0034 dstCol must be aligned (At: include/pto/npu/a2a3/TExtract.hpp:199 (+3); Fix: -)
  • SA-0035 dstCol must be aligned to 16 (At: include/pto/npu/a2a3/TExtract.hpp:191 (+1); Fix: -)
  • SA-0036 dstCol must be aligned to C0Size (At: include/pto/npu/a2a3/TExtract.hpp:89 (+1); Fix: -)
  • SA-0037 DstOp is invalid. (At: include/pto/common/event.hpp:134; Fix: FIX-A05)
  • SA-0038 dstRow must be aligned (At: include/pto/npu/a2a3/TExtract.hpp:198 (+3); Fix: -)
  • SA-0039 dstRow must be aligned to 16 (At: include/pto/npu/a2a3/TExtract.hpp:88 (+1); Fix: -)
  • SA-0040 dstRow must be aligned to C0Size (At: include/pto/npu/a2a3/TExtract.hpp:190 (+1); Fix: -)
  • SA-0041 DType not support b64 in ND2NZ or DN2NZ (At: include/pto/npu/a5/TLoad.hpp:193; Fix: -)
  • SA-0042 Dual Dst Mode is not support in nz2dn. (At: include/pto/npu/a5/TMov.hpp:92; Fix: -)
  • SA-0043 ERROR: Total memory usage exceeds UB limit! (At: include/pto/npu/a2a3/TMrgSort.hpp:178 (+1); Fix: -)
  • SA-0044 expect b16/b32 (At: include/pto/cpu/TGather.hpp:53 (+2); Fix: -)
  • SA-0045 expect b32 (At: include/pto/cpu/TGather.hpp:55 (+1); Fix: -)
  • SA-0046 expect b32 or b16 (At: include/pto/npu/a2a3/TCI.hpp:20 (+1); Fix: -)
  • SA-0047 expect b8/b16/b32 (At: include/pto/npu/a5/TGather.hpp:26; Fix: -)
  • SA-0048 expect row is 1 (At: include/pto/npu/a2a3/TCI.hpp:22 (+1); Fix: -)
  • SA-0049 Expect row major (At: include/pto/npu/a2a3/TSort32.hpp:166 (+1); Fix: -)
  • SA-0050 expect same size for indice and dst (At: include/pto/cpu/TGather.hpp:56 (+2); Fix: -)
  • SA-0051 expect src and dst same datatype (At: include/pto/npu/a2a3/TCI.hpp:19 (+1); Fix: -)
  • SA-0052 Fp only support Scaling. (At: include/pto/npu/a2a3/TMov.hpp:206 (+2); Fix: -)
  • SA-0053 GlobalTensor can only be assigned with address of pointer type. (At: include/pto/cpu/TAssign.hpp:25 (+2); Fix: FIX-A09)
  • SA-0054 GlobalTensor can only be assigned with pointer of same data type. (At: include/pto/cpu/TAssign.hpp:28 (+2); Fix: FIX-A09)
  • SA-0055 GlobalTensor input shape now only support 2 dim (At: include/pto/npu/a5/TLoad.hpp:195; Fix: FIX-A09)
  • SA-0056 GlobalTensor ony support 2 dim when DN2ZN! (At: include/pto/npu/a2a3/TLoad.hpp:333; Fix: FIX-A09)
  • SA-0057 GlobalTensor ony support 2 dim when ND2NZ! (At: include/pto/npu/a2a3/TLoad.hpp:306; Fix: FIX-A09)
  • SA-0058 Idx must be uint32_t. (At: include/pto/npu/a2a3/TSort32.hpp:159 (+1); Fix: -)
  • SA-0059 Inconsistent number of m, k, n (At: include/pto/cpu/TMatmul.hpp:57; Fix: -)
  • SA-0060 Inconsistent number of m, k, n. (At: include/pto/npu/a2a3/TMatmul.hpp:72 (+1); Fix: -)
  • SA-0061 Inconsistent number of m, n (At: include/pto/cpu/TRowSum.hpp:51; Fix: -)
  • SA-0062 Incorrect data type. (At: include/pto/npu/a5/TMov.hpp:22; Fix: -)
  • SA-0063 input must be a Tile instance. (At: include/pto/cpu/TReshape.hpp:25 (+1); Fix: -)
  • SA-0064 Invalid layout (At: include/pto/cpu/tile_offsets.hpp:31; Fix: FIX-A05)
  • SA-0065 Invalid Tile Layout. (At: include/pto/common/pto_tile.hpp:606; Fix: FIX-A05)
  • SA-0066 Layout cols must be divisible by inner box cols (At: include/pto/common/pto_tile.hpp:655; Fix: -)
  • SA-0067 Layout rows must be divisible by inner box rows (At: include/pto/common/pto_tile.hpp:653; Fix: -)
  • SA-0068 Left Type and Rigth Type must be int8_t when Acc Type is int32_t. (At: include/pto/npu/a5/TMatmul.hpp:123; Fix: -)
  • SA-0069 MGATHER: element sizes must match (At: include/pto/cpu/MGatherScatter.hpp:26; Fix: FIX-A10)
  • SA-0070 MGATHER: indexes must be an integral type (At: include/pto/cpu/MGatherScatter.hpp:25; Fix: FIX-A10)
  • SA-0071 movemask: error mask index. (At: include/pto/common/utils.hpp:32; Fix: -)
  • SA-0072 MSCATTER: element sizes must match (At: include/pto/cpu/MGatherScatter.hpp:51; Fix: FIX-A10)
  • SA-0073 MSCATTER: indexes must be an integral type (At: include/pto/cpu/MGatherScatter.hpp:50; Fix: FIX-A10)
  • SA-0074 No supported bias data type (At: include/pto/cpu/TMatmul.hpp:73; Fix: -)
  • SA-0075 No supported bias data type. (At: include/pto/npu/a2a3/TMatmul.hpp:117 (+1); Fix: -)
  • SA-0076 No supported data type when Acc Type is float. (At: include/pto/npu/a5/TMatmul.hpp:126; Fix: -)
  • SA-0077 Non-conforming bias fractal (At: include/pto/cpu/TMatmul.hpp:74; Fix: -)
  • SA-0078 Non-conforming bias fractal. (At: include/pto/npu/a5/TMatmul.hpp:180; Fix: -)
  • SA-0079 Non-conforming matrix fractal (At: include/pto/cpu/TMatmul.hpp:60; Fix: -)
  • SA-0080 Non-conforming matrix fractal. (At: include/pto/npu/a5/TMatmul.hpp:139; Fix: -)
  • SA-0081 Not supported data type (At: include/pto/cpu/TMatmul.hpp:49 (+1); Fix: FIX-A06)
  • SA-0082 now only support ND2NZ DN2NZ ND2ND DN2DN NZ2NZ DN2ZN in current platform (At: include/pto/npu/a5/TLoad.hpp:171; Fix: -)
  • SA-0083 Number of valid columns must not be greater than number of tile columns. (At: include/pto/npu/a2a3/TAddS.hpp:55 (+14); Fix: -)
  • SA-0084 Number of valid rows must not be greater than number of tile rows. (At: include/pto/npu/a2a3/TAddS.hpp:56 (+14); Fix: -)
  • SA-0085 Only ND and DN GLobal Tensors are currently supported (At: include/pto/cpu/TLoad.hpp:155 (+1); Fix: -)
  • SA-0086 only support get dim(0-4) (At: include/pto/common/pto_tile.hpp:272 (+1); Fix: FIX-A02)
  • SA-0087 Only support half and float. (At: include/pto/npu/a5/TRowReduce.hpp:64; Fix: -)
  • SA-0088 Only support nz2nz, nz2nd or nz2dn. (At: include/pto/npu/a5/TMov.hpp:229; Fix: -)
  • SA-0089 Only Tile and GlobalTensor data types are supported. (At: include/pto/cpu/TAssign.hpp:23 (+2); Fix: FIX-A09)
  • SA-0090 output must be a Tile instance. (At: include/pto/cpu/TReshape.hpp:26 (+1); Fix: -)
  • SA-0091 Output type must be same as input type. (At: include/pto/npu/a5/TRowReduce.hpp:66; Fix: -)
  • SA-0092 Quant is not support in dual Dst Mode. (At: include/pto/npu/a5/TMov.hpp:396 (+2); Fix: -)
  • SA-0093 rows must be divisible by 16 for Layout::NZ (At: include/pto/common/pto_tile.hpp:408 (+1); Fix: FIX-A03)
  • SA-0094 rows or cols of fractal size is 0. (At: include/pto/common/pto_tile.hpp:651; Fix: -)
  • SA-0095 SFractalSize_ illegal (At: include/pto/common/pto_tile.hpp:667; Fix: -)
  • SA-0096 Single Op TSYNC only supports Vector PTO Instruction. (At: include/pto/common/event.hpp:109; Fix: FIX-A07)
  • SA-0097 Size of datatype != 4 (At: include/pto/common/pto_tile.hpp:574 (+1); Fix: -)
  • SA-0098 Source dtype must be same with dst dtype (At: include/pto/cpu/TLoad.hpp:153; Fix: -)
  • SA-0099 Source dtype must be same with dst dtype! (At: include/pto/cpu/TStore.hpp:127 (+4); Fix: -)
  • SA-0100 Source TileType only suport Vec/Acc! (At: include/pto/npu/a5/TStore.hpp:418; Fix: FIX-A08)
  • SA-0101 Source TileType only suport Vec/Acc/Mat! (At: include/pto/npu/a2a3/TStore.hpp:525; Fix: FIX-A08)
  • SA-0102 Source TileType only support Acc. (At: include/pto/npu/a2a3/TMov.hpp:109 (+1); Fix: FIX-A08)
  • SA-0103 Src and dst layout must be ND! (At: include/pto/npu/a2a3/TRowExpand.hpp:95; Fix: -)
  • SA-0104 Src and dst layout must be same! (At: include/pto/npu/a5/TLoad.hpp:517; Fix: -)
  • SA-0105 Src and dst layout must be same, only support ND/DN/NZ or the special case of one row/one column! (At: include/pto/npu/a2a3/TStore.hpp:480 (+1); Fix: -)
  • SA-0106 Src data type only support float or int32_t. (At: include/pto/npu/a2a3/TMov.hpp:119 (+1); Fix: -)
  • SA-0107 Src fractal format should be (BFractal: ColMajor, SFractal: RowMajor). (At: include/pto/npu/a2a3/TMov.hpp:115 (+1); Fix: -)
  • SA-0108 Src GlobalTensor Col and Tile ValidCol must be the same! (At: include/pto/npu/a5/TLoad.hpp:526; Fix: FIX-A05,FIX-A09)
  • SA-0109 Src GlobalTensor Row Products and Tile ValidRow must be the same! (At: include/pto/npu/a5/TLoad.hpp:533; Fix: FIX-A05,FIX-A09)
  • SA-0110 Src GlobalTensor staticShape[3][4] must be satisfied with NZ format require! (At: include/pto/npu/a5/TLoad.hpp:211 (+1); Fix: FIX-A09)
  • SA-0111 Src TileType must be Vec Tile! (At: include/pto/npu/a5/TRowExpand.hpp:25; Fix: FIX-A08)
  • SA-0112 Src TileType must be Vec! (At: include/pto/npu/a2a3/TRowExpand.hpp:94; Fix: FIX-A08)
  • SA-0113 srcCol must be aligned (At: include/pto/npu/a2a3/TExtract.hpp:197 (+3); Fix: -)
  • SA-0114 srcCol must be aligned to 16 (At: include/pto/npu/a2a3/TExtract.hpp:189 (+1); Fix: -)
  • SA-0115 srcCol must be aligned to C0Size (At: include/pto/npu/a2a3/TExtract.hpp:87 (+1); Fix: -)
  • SA-0116 SrcOp is invalid. (At: include/pto/common/event.hpp:133; Fix: FIX-A05)
  • SA-0117 SrcOp is not allowed to be equal to DstOp. (At: include/pto/common/event.hpp:135; Fix: -)
  • SA-0118 SrcPipe is not allowed to be equal to dstPipe. (At: include/pto/common/event.hpp:136; Fix: FIX-A07)
  • SA-0119 srcRow must be aligned (At: include/pto/npu/a2a3/TExtract.hpp:196 (+3); Fix: -)
  • SA-0120 srcRow must be aligned to 16 (At: include/pto/npu/a2a3/TExtract.hpp:86 (+1); Fix: -)
  • SA-0121 srcRow must be aligned to C0Size (At: include/pto/npu/a2a3/TExtract.hpp:188 (+1); Fix: -)
  • SA-0122 SrcTile bytes size must be 512B align and dstTile greater than or equal to srcTile. (At: include/pto/npu/a5/TMov.hpp:249; Fix: -)
  • SA-0123 static_assert (SrcTileData::ValidRow == DstTileData::ValidCol && SrcTileData::ValidCol == DstTile… (At: include/pto/cpu/TTrans.hpp:36; Fix: -)
  • SA-0124 static_assert( ((GlobalData::layout == pto::Layout::ND) && (TileData::Cols * sizeof(typename Tile… (At: include/pto/npu/a5/TStore.hpp:157; Fix: -)
  • SA-0125 static_assert( std::is_same_v || std::is_same_v<typename TileDa… (At: include/pto/npu/a5/TStore.hpp:134; Fix: -)
  • SA-0126 static_assert((GlobalData::layout == pto::Layout::ND && TileData::Rows >= 1 && TileData::Rows <= … (At: include/pto/npu/a2a3/TStore.hpp:513 (+1); Fix: -)
  • SA-0127 static_assert(std::is_same_v || std::is_same_v || std::is_same_v<T, int16_… (At: include/pto/npu/a5/TGather.hpp:305; Fix: -)
  • SA-0128 static_assert(std::is_same_v || std::is_same_v || std::is_same_v<U, int16_… (At: include/pto/npu/a5/TGather.hpp:312; Fix: -)
  • SA-0129 static_assert(SupportBytes(), "DistVST DIST_ONEPT only support type b8/b16/b32 on " "… (At: include/pto/npu/a5/utils.hpp:53; Fix: -)
  • SA-0130 TABS: Invalid data type (At: include/pto/cpu/TAbs.hpp:65 (+1); Fix: FIX-A05)
  • SA-0131 TABS: Number of valid columns must not be greater than number of tile columns. (At: include/pto/npu/a2a3/TUnaryOp.hpp:375; Fix: -)
  • SA-0132 TABS: Number of valid rows must not be greater than number of tile rows. (At: include/pto/npu/a2a3/TUnaryOp.hpp:376; Fix: -)
  • SA-0133 TABS: TileType of src and dst tiles must be TileType::Vec. (At: include/pto/npu/a2a3/TUnaryOp.hpp:374; Fix: FIX-A08)
  • SA-0134 TADD: Invalid data type. (At: include/pto/npu/a2a3/TAdd.hpp:47 (+1); Fix: FIX-A05)
  • SA-0135 TADD: not supported Layout type (At: include/pto/npu/a5/TAdd.hpp:61; Fix: FIX-A06)
  • SA-0136 TADD: not supported Layout type. (At: include/pto/npu/a2a3/TAdd.hpp:55; Fix: FIX-A06)
  • SA-0137 TADDS: Invalid data type (At: include/pto/npu/a2a3/TAddS.hpp:45; Fix: FIX-A05)
  • SA-0138 TBinSOps: Invalid data type. (At: include/pto/npu/a5/TBinSOp.hpp:173; Fix: FIX-A05)
  • SA-0139 TCI data type must match tile data type (At: include/pto/cpu/TCi.hpp:31; Fix: -)
  • SA-0140 TCI only support 1 row tile (At: include/pto/cpu/TCi.hpp:30; Fix: -)
  • SA-0141 TCOLEXPANDDIV: Invalid data type. (At: include/pto/npu/a5/TColExpandDiv.hpp:51; Fix: FIX-A05)
  • SA-0142 TCOLEXPANDDIV: not supported Layout type (At: include/pto/npu/a5/TColExpandDiv.hpp:54; Fix: FIX-A06)
  • SA-0143 TCOLEXPANDEXPDIF: Invalid data type. (At: include/pto/npu/a5/TColExpandExpdif.hpp:57; Fix: FIX-A05)
  • SA-0144 TCOLEXPANDEXPDIF: not supported Layout type (At: include/pto/npu/a5/TColExpandExpdif.hpp:60; Fix: FIX-A06)
  • SA-0145 TCOLEXPANDMUL: Invalid data type. (At: include/pto/npu/a5/TColExpandMul.hpp:51; Fix: FIX-A05)
  • SA-0146 TCOLEXPANDMUL: not supported Layout type (At: include/pto/npu/a5/TColExpandMul.hpp:54; Fix: FIX-A06)
  • SA-0147 TCOLEXPANDSUB: Invalid data type. (At: include/pto/npu/a5/TColExpandSub.hpp:51; Fix: FIX-A05)
  • SA-0148 TCOLEXPANDSUB: not supported Layout type (At: include/pto/npu/a5/TColExpandSub.hpp:54; Fix: FIX-A06)
  • SA-0149 TCOPY: src and dst data type is different! (At: include/pto/npu/a5/TFillPad.hpp:67; Fix: -)
  • SA-0150 TDIV: Invalid data type. (At: include/pto/npu/a2a3/TDiv.hpp:47 (+1); Fix: FIX-A05)
  • SA-0151 TDIV: not supported Layout type (At: include/pto/npu/a5/TDiv.hpp:54; Fix: FIX-A06)
  • SA-0152 TDIVS: Invalid data type (At: include/pto/npu/a2a3/TDivS.hpp:212 (+1); Fix: FIX-A05)
  • SA-0153 TEXP: Invalid data type (At: include/pto/npu/a2a3/TUnaryOp.hpp:338; Fix: FIX-A05)
  • SA-0154 TEXP: not supported Layout type (At: include/pto/npu/a5/TUnaryOp.hpp:236 (+1); Fix: FIX-A06)
  • SA-0155 TEXP: Number of valid columns must not be greater than number of tile columns. (At: include/pto/npu/a2a3/TUnaryOp.hpp:344; Fix: -)
  • SA-0156 TEXP: Number of valid rows must not be greater than number of tile rows. (At: include/pto/npu/a2a3/TUnaryOp.hpp:345; Fix: -)
  • SA-0157 TEXP: TileType of src and dst tiles must be TileType::Vec. (At: include/pto/npu/a2a3/TUnaryOp.hpp:343; Fix: FIX-A08)
  • SA-0158 TEXPANDS: Invalid data type (At: include/pto/npu/a2a3/TExpandS.hpp:43; Fix: FIX-A05)
  • SA-0159 TExtract: Destination and Source tile data types must be the same (At: include/pto/npu/a5/TExtract.hpp:175; Fix: -)
  • SA-0160 TExtract: Destination and Source tile data types must be the same. (At: include/pto/npu/a2a3/TExtract.hpp:208; Fix: -)
  • SA-0161 TExtract: DstTile Invalid Fractal (At: include/pto/npu/a5/TExtract.hpp:183 (+1); Fix: FIX-A05)
  • SA-0162 TExtract: Invalid data type. (At: include/pto/npu/a2a3/TExtract.hpp:210; Fix: FIX-A05)
  • SA-0163 TExtract: LeftTile Invalid Fractal. (At: include/pto/npu/a2a3/TExtract.hpp:223; Fix: FIX-A05)
  • SA-0164 TExtract: RightTile Invalid Fractal. (At: include/pto/npu/a2a3/TExtract.hpp:231; Fix: FIX-A05)
  • SA-0165 TExtract: SrcTile Invalid Fractal (At: include/pto/npu/a5/TExtract.hpp:178; Fix: FIX-A05)
  • SA-0166 TExtract: SrcTile Invalid Fractal. (At: include/pto/npu/a2a3/TExtract.hpp:215; Fix: FIX-A05)
  • SA-0167 TExtract: Unsupported data type! Supported types: int8_t, hifloat8_t, fp8_e5m2_t, fp8_e4m3fn_t, \… (At: include/pto/npu/a5/TExtract.hpp:171; Fix: FIX-A06)
  • SA-0168 TFillPad, dst vecTile pad value can't be Null! (At: include/pto/cpu/TFillPad.hpp:71; Fix: -)
  • SA-0169 TFillPad, src and dst data type shouuld be the same! (At: include/pto/cpu/TFillPad.hpp:72; Fix: -)
  • SA-0170 TFillPad: dst and src should have the same rows/cols! (At: include/pto/cpu/TFillPad.hpp:103 (+2); Fix: -)
  • SA-0171 TFillPad: dst vecTile pad value must not be Null! (At: include/pto/npu/a2a3/TFillPad.hpp:230 (+1); Fix: -)
  • SA-0172 TFillPad: Dst vecTile Rows/Cols must be greater or equal to src vecTile. (At: include/pto/npu/a2a3/TFillPad.hpp:254 (+1); Fix: -)
  • SA-0173 TFillPad: Dst/Src vecTile Rows/Cols must be the same. (At: include/pto/npu/a2a3/TFillPad.hpp:246 (+3); Fix: -)
  • SA-0174 TFillPad: Invalid data type! (At: include/pto/cpu/TFillPad.hpp:73; Fix: FIX-A05)
  • SA-0175 TFillPad: Invalid data type. (At: include/pto/npu/a2a3/TFillPad.hpp:232 (+1); Fix: FIX-A05)
  • SA-0176 TFillPad: src and dst data type is different! (At: include/pto/npu/a2a3/TFillPad.hpp:231 (+1); Fix: -)
  • SA-0177 TFILLPAD: Unsupported DType for PadValue! (At: include/pto/npu/a2a3/TFillPad.hpp:29 (+1); Fix: FIX-A06)
  • SA-0178 TGATHER: expect row major (At: include/pto/cpu/TGather.hpp:117 (+2); Fix: FIX-A10)
  • SA-0179 TGATHER: expect same type size for dst and src (At: include/pto/cpu/TGather.hpp:118 (+2); Fix: FIX-A10)
  • SA-0180 TGATHER: expect vec TileType (At: include/pto/cpu/TGather.hpp:115 (+2); Fix: FIX-A08,FIX-A10)
  • SA-0181 TGATHER: src element type must be 16 or 32-bit wide (At: include/pto/cpu/TGather.hpp:114 (+1); Fix: FIX-A10)
  • SA-0182 TGATHERB: Invalid data type. (At: include/pto/npu/a2a3/TGatherB.hpp:139 (+1); Fix: FIX-A05,FIX-A10)
  • SA-0183 TGATHERB: not supported Layout type. (At: include/pto/cpu/TGatherB.hpp:51 (+1); Fix: FIX-A06,FIX-A10)
  • SA-0184 The Cols of TileData must be less than 16384! (At: include/pto/npu/a2a3/TLoad.hpp:343; Fix: -)
  • SA-0185 The data type is not supported. (At: include/pto/npu/a2a3/TMatmul.hpp:62; Fix: FIX-A06)
  • SA-0186 The Idx data type must be uint32 (At: include/pto/cpu/TSort32.hpp:99; Fix: -)
  • SA-0187 The input data type is not supported by this instruction. (At: include/pto/npu/a2a3/TColReduceOps.hpp:82 (+3); Fix: FIX-A06)
  • SA-0188 The input data type must be consistent with the output data type (At: include/pto/npu/a2a3/TRowExpand.hpp:98; Fix: -)
  • SA-0189 The input data type must be consistent with the output data type and the tmp data type. (At: include/pto/npu/a2a3/TColSum.hpp:99; Fix: -)
  • SA-0190 The input data type must be consistent with the output data type. (At: include/pto/npu/a2a3/TColReduceOps.hpp:85 (+3); Fix: -)
  • SA-0191 The input data type must be restricted to int32_t/float! (At: include/pto/npu/a2a3/TStore.hpp:503 (+1); Fix: -)
  • SA-0192 The output data layout must be ND or NZ. (At: include/pto/npu/a2a3/TStore.hpp:501; Fix: -)
  • SA-0193 The output data type must be restricted to half/bfloat16_t. (At: include/pto/npu/a2a3/TMov.hpp:123; Fix: -)
  • SA-0194 The output data type must be restricted to half/bfloat16_t/float. (At: include/pto/npu/a5/TMov.hpp:221; Fix: -)
  • SA-0195 The output data type must be restricted to int32_t. (At: include/pto/npu/a5/TMov.hpp:225; Fix: -)
  • SA-0196 The output data type must be restricted to int32_t/float/half/bfloat16_t! (At: include/pto/npu/a2a3/TStore.hpp:506 (+1); Fix: -)
  • SA-0197 The output data type must be restricted to int8_t. (At: include/pto/npu/a2a3/TMov.hpp:127; Fix: -)
  • SA-0198 The output data type must be restricted to int8_t/uint8_t/half/bfloat16_t. (At: include/pto/npu/a5/TMov.hpp:215; Fix: -)
  • SA-0199 The output data type must be restricted to int8_t/uint8_t/half/int16_t. (At: include/pto/npu/a2a3/TMov.hpp:129; Fix: -)
  • SA-0200 The output data type must be restricted to int8_t/uint8_t/hifloat/bfloat8_t/half/bfloat16_t. (At: include/pto/npu/a5/TMov.hpp:210; Fix: -)
  • SA-0201 The range of Cols is [1, 4095]. (At: include/pto/npu/a2a3/TStore.hpp:512 (+1); Fix: -)
  • SA-0202 The Rows of TileData must be less than 16384! (At: include/pto/npu/a2a3/TLoad.hpp:316; Fix: -)
  • SA-0203 The Src data type must be consistent with the dst data type (At: include/pto/cpu/TSort32.hpp:97; Fix: -)
  • SA-0204 The src data type must be restricted to float. (At: include/pto/npu/a2a3/TMov.hpp:122; Fix: -)
  • SA-0205 The Src stride must be consistent with the idx stride (At: include/pto/cpu/TSort32.hpp:100; Fix: FIX-A09)
  • SA-0206 The Src0 data type must be consistent with the dst and src1 data type (At: include/pto/cpu/TPartOp.hpp:48; Fix: -)
  • SA-0207 This instruction only support Nd fractal Tile (At: include/pto/npu/a2a3/TColReduceOps.hpp:78 (+9); Fix: -)
  • SA-0208 This instruction only support Nd fractal Tile or DN Tile with Col is 1. (At: include/pto/npu/a2a3/TRowReduceOps.hpp:181; Fix: -)
  • SA-0209 This instruction only support ND layout for input tile. (At: include/pto/npu/a5/TRowReduce.hpp:71; Fix: -)
  • SA-0210 This instruction only support ND or DN with Col = 1 for output tile. (At: include/pto/npu/a5/TRowReduce.hpp:73; Fix: -)
  • SA-0211 This instruction only support Vec Tile (At: include/pto/npu/a2a3/TColReduceOps.hpp:76 (+3); Fix: -)
  • SA-0212 This instruction only support Vec Tile. (At: include/pto/npu/a5/TRowReduce.hpp:68; Fix: -)
  • SA-0213 This optimization is only for [16, 512] input. (At: include/pto/npu/a2a3/TRowReduceOps.hpp:82; Fix: -)
  • SA-0214 This optimization is only for [32, 256] input. (At: include/pto/npu/a2a3/TRowReduceOps.hpp:59; Fix: -)
  • SA-0215 This optimization is only for [64, 128] input. (At: include/pto/npu/a2a3/TRowReduceOps.hpp:39; Fix: -)
  • SA-0216 This optimization is only for [8, 1024] input. (At: include/pto/npu/a2a3/TRowReduceOps.hpp:102; Fix: -)
  • SA-0217 This optimization is only for float type. (At: include/pto/npu/a2a3/TRowReduceOps.hpp:100 (+3); Fix: -)
  • SA-0218 Tile can only be assigned with address of int type. (At: include/pto/npu/a2a3/TAssign.hpp:22 (+1); Fix: -)
  • SA-0219 TileBias must be single row. (At: include/pto/npu/a2a3/TMatmul.hpp:118; Fix: -)
  • SA-0220 TileData ony support SFractalSize = 512Bytes! (At: include/pto/npu/a2a3/TLoad.hpp:309 (+1); Fix: -)
  • SA-0221 TileData SFractalSize must be 512 of NZ format in L1 (At: include/pto/npu/a5/TLoad.hpp:192; Fix: -)
  • SA-0222 TileData static shape must less than 512KB in L1 (At: include/pto/npu/a5/TLoad.hpp:187; Fix: FIX-A09)
  • SA-0223 TileData::PadVal only support Null or Zero in B64 mode (At: include/pto/npu/a5/TLoad.hpp:509; Fix: -)
  • SA-0224 TileData::Rows must less than 16384 in L1 (At: include/pto/npu/a5/TLoad.hpp:186; Fix: -)
  • SA-0225 TileLeft TileType must be set to TileType::Left. (At: include/pto/npu/a2a3/TMatmul.hpp:76; Fix: FIX-A08)
  • SA-0226 TileRes TileType must be set to TileType::Acc. (At: include/pto/npu/a2a3/TMatmul.hpp:78; Fix: FIX-A08)
  • SA-0227 TileRight TileType must be set to TileType::Right. (At: include/pto/npu/a2a3/TMatmul.hpp:77; Fix: FIX-A08)
  • SA-0228 TileType must be Vec! (At: include/pto/npu/a5/TSort32.hpp:183; Fix: FIX-A08)
  • SA-0229 TileType must be Vec. (At: include/pto/npu/a2a3/TSort32.hpp:163; Fix: FIX-A08)
  • SA-0230 TileType of dst tiles must be TileType::Vec. (At: include/pto/npu/a2a3/TCmp.hpp:112 (+1); Fix: FIX-A08)
  • SA-0231 TileType of src and dst tiles must be TileType::Vec. (At: include/pto/npu/a2a3/TAddS.hpp:54 (+12); Fix: FIX-A08)
  • SA-0232 TileType of src tiles must be TileType::Vec. (At: include/pto/npu/a2a3/TCmp.hpp:111 (+1); Fix: FIX-A08)
  • SA-0233 TLOAD only support ND2ND/DN2DN for b64! (At: include/pto/npu/a2a3/TLoad.hpp:370; Fix: -)
  • SA-0234 TLOAD(MatTile, GlobalTensor) only support ND2ND/DN2DN/NZ2NZ/ND2NZ/DN2ZN! (At: include/pto/npu/a2a3/TLoad.hpp:398; Fix: FIX-A09)
  • SA-0235 TLOAD(VecTile, GlobalTensor) only support ND2ND/DN2DN/NZ2NZ! (At: include/pto/npu/a2a3/TLoad.hpp:390; Fix: FIX-A09)
  • SA-0236 TLOAD: Rows>=4095 not supported in A2/A3 (At: include/pto/npu/a2a3/TLoad.hpp:62; Fix: FIX-A06)
  • SA-0237 TLOAD: Unsupported DType for PadValue! (At: include/pto/common/constants.hpp:80; Fix: FIX-A06)
  • SA-0238 TLOG: Invalid data type (At: include/pto/npu/a2a3/TUnaryOp.hpp:400; Fix: FIX-A05)
  • SA-0239 TLOG: Number of valid columns must not be greater than number of tile columns. (At: include/pto/npu/a2a3/TUnaryOp.hpp:406; Fix: -)
  • SA-0240 TLOG: Number of valid rows must not be greater than number of tile rows. (At: include/pto/npu/a2a3/TUnaryOp.hpp:407; Fix: -)
  • SA-0241 TLOG: TileType of src and dst tiles must be TileType::Vec. (At: include/pto/npu/a2a3/TUnaryOp.hpp:405; Fix: FIX-A08)
  • SA-0242 TMatmulMX:Inconsistent number of m, k, n (At: include/pto/npu/a5/TMatmul.hpp:104; Fix: -)
  • SA-0243 TMatmulMX:k must be a multiple of 64. (At: include/pto/npu/a5/TMatmul.hpp:103; Fix: -)
  • SA-0244 TMatmulMX:No supported bias data type. (At: include/pto/npu/a5/TMatmul.hpp:223; Fix: -)
  • SA-0245 TMatmulMX:No supported data type (At: include/pto/npu/a5/TMatmul.hpp:86; Fix: -)
  • SA-0246 TMatmulMX:Non-conforming matrix fractal (At: include/pto/npu/a5/TMatmul.hpp:107; Fix: -)
  • SA-0247 TMatmulMX:TileBias must be single row. (At: include/pto/npu/a5/TMatmul.hpp:224; Fix: -)
  • SA-0248 TMAX: Invalid data type. (At: include/pto/npu/a2a3/TMax.hpp:47 (+1); Fix: FIX-A05)
  • SA-0249 TMAX: not supported Layout type (At: include/pto/npu/a5/TMax.hpp:54; Fix: FIX-A06)
  • SA-0250 TMAX: not supported Layout type. (At: include/pto/npu/a2a3/TMax.hpp:55; Fix: FIX-A06)
  • SA-0251 TMIN: Invalid data type. (At: include/pto/npu/a2a3/TMin.hpp:47 (+1); Fix: FIX-A05)
  • SA-0252 TMIN: not supported Layout type (At: include/pto/npu/a5/TMin.hpp:53; Fix: FIX-A06)
  • SA-0253 TMIN: not supported Layout type. (At: include/pto/npu/a2a3/TMin.hpp:55; Fix: FIX-A06)
  • SA-0254 TMov: Destination and Source tile data types must be the same. (At: include/pto/npu/a2a3/TMov.hpp:27 (+2); Fix: -)
  • SA-0255 TMov: DstTile Invalid Fractal. (At: include/pto/npu/a5/TMov.hpp:310 (+1); Fix: FIX-A05)
  • SA-0256 TMov: Invalid data type. (At: include/pto/npu/a2a3/TMov.hpp:61; Fix: FIX-A05)
  • SA-0257 TMov: Invalid TileType. (At: include/pto/npu/a2a3/TMov.hpp:141 (+1); Fix: FIX-A05,FIX-A08)
  • SA-0258 TMOV: src and dst data type is different! (At: include/pto/npu/a2a3/TCopy.hpp:30; Fix: -)
  • SA-0259 TMov: SrcTile Invalid Fractal. (At: include/pto/npu/a5/TMov.hpp:195; Fix: FIX-A05)
  • SA-0260 TMov: The memory occupation of BiasTile exceeds 4.0KB bias table size. (At: include/pto/npu/a5/TMov.hpp:38; Fix: -)
  • SA-0261 TMov: The memory occupation of FbTile exceeds 4.0KB fixpipe buffer size. (At: include/pto/npu/a5/TMov.hpp:72; Fix: FIX-A07)
  • SA-0262 TMov: The shape of destination and source tile must be the same. (At: include/pto/npu/a5/TMov.hpp:302; Fix: FIX-A09)
  • SA-0263 TMov: The shape of src needs to be the same as that of dst. (At: include/pto/npu/a2a3/TMov.hpp:139; Fix: FIX-A09)
  • SA-0264 TMov: Unsupported data type! Supported types: int8_t, hifloat8_t, fp8_e5m2_t, fp8_e4m3fn_t, \ hal… (At: include/pto/npu/a5/TMov.hpp:189; Fix: FIX-A06)
  • SA-0265 TMov: When Source tile data types is half, dst tile data types must be float (At: include/pto/npu/a2a3/TMov.hpp:30; Fix: -)
  • SA-0266 TMov: When TileType is Bias, col * sizeof(Dtype) must be aligned to 64. (At: include/pto/npu/a5/TMov.hpp:36; Fix: FIX-A08)
  • SA-0267 TMov: When TileType is Bias, col * sizeof(srcDType) must be aligned to 64 (At: include/pto/npu/a2a3/TMov.hpp:34; Fix: FIX-A08)
  • SA-0268 TMov: When TileType is Bias, row must be 1 (At: include/pto/npu/a2a3/TMov.hpp:33; Fix: FIX-A08)
  • SA-0269 TMov: When TileType is Bias, row must be 1. (At: include/pto/npu/a5/TMov.hpp:35; Fix: FIX-A08)
  • SA-0270 TMov: When TileType is Scaling, col * sizeof(Dtype) must be aligned to 128. (At: include/pto/npu/a5/TMov.hpp:70; Fix: FIX-A08)
  • SA-0271 TMov: When TileType is Scaling, col * sizeof(srcType) must be aligned to 128 (At: include/pto/npu/a2a3/TMov.hpp:63; Fix: FIX-A08)
  • SA-0272 TMov: When TileType is Scaling, row must be 1 (At: include/pto/npu/a2a3/TMov.hpp:62; Fix: FIX-A08)
  • SA-0273 TMov: When TileType is Scaling, row must be 1. (At: include/pto/npu/a5/TMov.hpp:69; Fix: FIX-A08)
  • SA-0274 TMRGSORT: BLayout must be RowMajor. (At: include/pto/cpu/TMrgSort.hpp:52; Fix: -)
  • SA-0275 TMrgsort: Destination and Source tile data types must be the same. (At: include/pto/npu/a2a3/TMrgSort.hpp:188 (+1); Fix: -)
  • SA-0276 TMRGSORT: invalid struct size. (At: include/pto/cpu/TMrgSort.hpp:43; Fix: FIX-A05)
  • SA-0277 TMrgsort: the BLayout of Destination and Source tile must be RowMajor. (At: include/pto/npu/a2a3/TMrgSort.hpp:201 (+1); Fix: -)
  • SA-0278 TMrgsort: the row of Destination and Source tile must be 1. (At: include/pto/npu/a2a3/TMrgSort.hpp:198 (+1); Fix: -)
  • SA-0279 TMrgsort: the TileType of Destination and Source tile must be Vec. (At: include/pto/npu/a2a3/TMrgSort.hpp:194 (+1); Fix: FIX-A08)
  • SA-0280 TMRGSORT: tile rows must be 1. (At: include/pto/cpu/TMrgSort.hpp:51; Fix: -)
  • SA-0281 TMRGSORT: tile type must be Vec. (At: include/pto/cpu/TMrgSort.hpp:50; Fix: -)
  • SA-0282 TMrgsort: Unsupported data type! Supported types is half/float (At: include/pto/npu/a2a3/TMrgSort.hpp:186 (+1); Fix: FIX-A06)
  • SA-0283 TMUL: Invalid data type. (At: include/pto/npu/a2a3/TMul.hpp:47 (+1); Fix: FIX-A05)
  • SA-0284 TMUL: not supported Layout type (At: include/pto/npu/a5/TMul.hpp:59; Fix: FIX-A06)
  • SA-0285 TMul: not supported Layout type. (At: include/pto/npu/a2a3/TMul.hpp:59; Fix: FIX-A06)
  • SA-0286 TMULS: Invalid data type (At: include/pto/npu/a2a3/TMulS.hpp:46; Fix: FIX-A05)
  • SA-0287 TPARTADD: Invalid data type. (At: include/pto/npu/a2a3/TPartAdd.hpp:70 (+1); Fix: FIX-A05)
  • SA-0288 TPARTADD: not supported BLayout type. (At: include/pto/npu/a2a3/TPartAdd.hpp:78; Fix: FIX-A06)
  • SA-0289 TPARTADD: src and dst data type is different! (At: include/pto/npu/a2a3/TPartAdd.hpp:67 (+1); Fix: -)
  • SA-0290 TPARTMAX: Input and output types should match (At: include/pto/npu/a5/TPartBinOps.hpp:189; Fix: -)
  • SA-0291 TPARTMAX: Invalid data type. (At: include/pto/cpu/TPartOp.hpp:46 (+2); Fix: FIX-A05)
  • SA-0292 TPARTMAX: not supported BLayout type. (At: include/pto/npu/a2a3/TPartMax.hpp:78; Fix: FIX-A06)
  • SA-0293 TPARTMAX: src and dst data type is different! (At: include/pto/npu/a2a3/TPartMax.hpp:67; Fix: -)
  • SA-0294 TPARTMIN: Invalid data type. (At: include/pto/npu/a2a3/TPartMin.hpp:70; Fix: FIX-A05)
  • SA-0295 TPARTMIN: not supported BLayout type. (At: include/pto/npu/a2a3/TPartMin.hpp:78; Fix: FIX-A06)
  • SA-0296 TPARTMIN: src and dst data type is different! (At: include/pto/npu/a2a3/TPartMin.hpp:67; Fix: -)
  • SA-0297 TRECIP: Invalid data type (At: include/pto/npu/a2a3/TUnaryOp.hpp:431; Fix: FIX-A05)
  • SA-0298 TRECIP: Number of valid columns must not be greater than number of tile columns. (At: include/pto/npu/a2a3/TUnaryOp.hpp:437; Fix: -)
  • SA-0299 TRECIP: Number of valid rows must not be greater than number of tile rows. (At: include/pto/npu/a2a3/TUnaryOp.hpp:438; Fix: -)
  • SA-0300 TRECIP: TileType of src and dst tiles must be TileType::Vec. (At: include/pto/npu/a2a3/TUnaryOp.hpp:436; Fix: FIX-A08)
  • SA-0301 TRESHAPE: Cannot reshape between boxed and non-boxed layouts. (At: include/pto/cpu/TReshape.hpp:50 (+1); Fix: FIX-A09)
  • SA-0302 TRESHAPE: Element types must be compatible. (At: include/pto/cpu/TReshape.hpp:44 (+1); Fix: FIX-A09)
  • SA-0303 TRESHAPE: Source and target TileType must be identical. (At: include/pto/npu/a2a3/TReshape.hpp:41; Fix: FIX-A08,FIX-A09)
  • SA-0304 TRESHAPE: Source and target TileType must be same. (At: include/pto/cpu/TReshape.hpp:38; Fix: FIX-A08,FIX-A09)
  • SA-0305 TRESHAPE: Total byte size must match. (At: include/pto/cpu/TReshape.hpp:41 (+1); Fix: FIX-A09)
  • SA-0306 TROWEXPANDDIV: Invalid data type. (At: include/pto/npu/a2a3/TRowExpandDiv.hpp:53 (+1); Fix: FIX-A05)
  • SA-0307 TROWEXPANDDIV: Invalid tile shape. (At: include/pto/npu/a2a3/TRowExpandDiv.hpp:58 (+1); Fix: FIX-A05,FIX-A09)
  • SA-0308 TROWEXPANDDIV: src and dst data type is different! (At: include/pto/npu/a2a3/TRowExpandDiv.hpp:51 (+1); Fix: -)
  • SA-0309 TROWEXPANDEXPDIF: Invalid data type. (At: include/pto/npu/a5/TRowExpandExpdif.hpp:59; Fix: FIX-A05)
  • SA-0310 TROWEXPANDEXPDIF: Invalid tile shape. (At: include/pto/npu/a5/TRowExpandExpdif.hpp:62; Fix: FIX-A05,FIX-A09)
  • SA-0311 TROWEXPANDEXPDIF: src and dst data type is different! (At: include/pto/npu/a5/TRowExpandExpdif.hpp:57; Fix: -)
  • SA-0312 TROWEXPANDMUL: Invalid data type. (At: include/pto/npu/a2a3/TRowExpandMul.hpp:53 (+1); Fix: FIX-A05)
  • SA-0313 TROWEXPANDMUL: Invalid tile shape. (At: include/pto/npu/a2a3/TRowExpandMul.hpp:58 (+1); Fix: FIX-A05,FIX-A09)
  • SA-0314 TROWEXPANDMUL: src and dst data type is different! (At: include/pto/npu/a2a3/TRowExpandMul.hpp:51 (+1); Fix: -)
  • SA-0315 TROWEXPANDSUB: Invalid data type. (At: include/pto/npu/a2a3/TRowExpandSub.hpp:53 (+1); Fix: FIX-A05)
  • SA-0316 TROWEXPANDSUB: Invalid tile shape. (At: include/pto/npu/a2a3/TRowExpandSub.hpp:58 (+1); Fix: FIX-A05,FIX-A09)
  • SA-0317 TROWEXPANDSUB: src and dst data type is different! (At: include/pto/npu/a2a3/TRowExpandSub.hpp:51 (+1); Fix: -)
  • SA-0318 TRSQRT: Invalid data type (At: include/pto/npu/a2a3/TUnaryOp.hpp:265; Fix: FIX-A05)
  • SA-0319 TRSQRT: not supported Layout type (At: include/pto/npu/a5/TUnaryOp.hpp:319 (+1); Fix: FIX-A06)
  • SA-0320 TRSQRT: Number of valid columns must not be greater than number of tile columns. (At: include/pto/npu/a2a3/TUnaryOp.hpp:271; Fix: -)
  • SA-0321 TRSQRT: Number of valid rows must not be greater than number of tile rows. (At: include/pto/npu/a2a3/TUnaryOp.hpp:272; Fix: -)
  • SA-0322 TRSQRT: TileType of src and dst tiles must be TileType::Vec. (At: include/pto/npu/a2a3/TUnaryOp.hpp:270; Fix: FIX-A08)
  • SA-0323 TSCATTER: indexes must be an integral type (At: include/pto/cpu/TScatter.hpp:24; Fix: FIX-A10)
  • SA-0324 TSCATTER: Invalid data type (At: include/pto/npu/a2a3/TScatter.hpp:46; Fix: FIX-A05,FIX-A10)
  • SA-0325 TSCATTER: Invalid data type of indexes (At: include/pto/npu/a2a3/TScatter.hpp:54; Fix: FIX-A05,FIX-A10)
  • SA-0326 TSEL: Invalid data type. (At: include/pto/npu/a2a3/TSel.hpp:55; Fix: FIX-A05)
  • SA-0327 TSELS: Invalid data type (At: include/pto/npu/a2a3/TSels.hpp:180; Fix: FIX-A05)
  • SA-0328 TSELS: Invalid data type. (At: include/pto/npu/a5/TSels.hpp:104; Fix: FIX-A05)
  • SA-0329 TSORT32: Invalid data type. (At: include/pto/cpu/TSort32.hpp:95; Fix: FIX-A05)
  • SA-0330 TSORT32: only NoneBox tiles are supported in CPU sim (At: include/pto/cpu/TSort32.hpp:104; Fix: -)
  • SA-0331 TSORT32: only RowMajor tiles are supported in CPU sim (At: include/pto/cpu/TSort32.hpp:102; Fix: -)
  • SA-0332 TSQRT: Invalid data type (At: include/pto/cpu/TSqrt.hpp:35 (+1); Fix: FIX-A05)
  • SA-0333 TSQRT: not supported Layout type (At: include/pto/npu/a5/TUnaryOp.hpp:269 (+1); Fix: FIX-A06)
  • SA-0334 TSQRT: Number of valid columns must not be greater than number of tile columns. (At: include/pto/npu/a2a3/TUnaryOp.hpp:313; Fix: -)
  • SA-0335 TSQRT: Number of valid rows must not be greater than number of tile rows. (At: include/pto/npu/a2a3/TUnaryOp.hpp:314; Fix: -)
  • SA-0336 TSQRT: TileType of src and dst tiles must be TileType::Vec. (At: include/pto/npu/a2a3/TUnaryOp.hpp:312; Fix: FIX-A08)
  • SA-0337 TSTORE(Acc2GM) only support NZ2ND / NZ2NZ. (At: include/pto/npu/a5/TStore.hpp:111; Fix: -)
  • SA-0338 TSTORE(GlobalTensor, VecTile) only support ND2ND/DN2DN for b64! (At: include/pto/npu/a2a3/TStore.hpp:490; Fix: FIX-A09)
  • SA-0339 TSUB: Invalid data type. (At: include/pto/npu/a2a3/TSub.hpp:47 (+1); Fix: FIX-A05)
  • SA-0340 TSUB: not supported BLayout type. (At: include/pto/npu/a2a3/TSub.hpp:55; Fix: FIX-A06)
  • SA-0341 TSUB: not supported Layout type (At: include/pto/npu/a5/TSub.hpp:60; Fix: FIX-A06)
  • SA-0342 TTRANS: Inconsistent input and output data types. (At: include/pto/npu/a2a3/TTrans.hpp:280; Fix: -)
  • SA-0343 TTRANS: Inconsistent Input Shape. (At: include/pto/npu/a5/TTrans.hpp:126 (+1); Fix: FIX-A09)
  • SA-0344 TTRANS: Inconsistent Output Shape. (At: include/pto/npu/a5/TTrans.hpp:127 (+1); Fix: FIX-A09)
  • SA-0345 TTRANS: Inconsistent source and destination data types. (At: include/pto/npu/a5/TTrans.hpp:123; Fix: -)
  • SA-0346 TTRANS: Invalid data type. (At: include/pto/npu/a2a3/TTrans.hpp:272 (+4); Fix: FIX-A05)
  • SA-0347 TTRANS: not supported Layout type. (At: include/pto/npu/a2a3/TTrans.hpp:281; Fix: FIX-A06)
  • SA-0348 Unsupport CMP_MODE. (At: include/pto/cpu/ElementOp.h:416; Fix: -)
  • SA-0349 Unsupport element op. (At: include/pto/cpu/ElementOp.h:77; Fix: -)
  • SA-0350 When TileData is NZ format, the last 2 dim must be static and satisfy [16, 32 / sizeof(DataType)] (At: include/pto/npu/a2a3/TLoad.hpp:144 (+1); Fix: -)
  • SA-0351 TASSIGN: memory space is not available on this architecture (capacity is 0). (At: include/pto/common/tassign_check.hpp; Fix: FIX-A12)
  • SA-0352 TASSIGN: Tile storage size exceeds memory space capacity. (At: include/pto/common/tassign_check.hpp; Fix: FIX-A12)
  • SA-0353 TASSIGN: addr + tile_size exceeds memory space capacity (out of bounds). (At: include/pto/common/tassign_check.hpp; Fix: FIX-A12)
  • SA-0354 TASSIGN: addr is not properly aligned for the target memory space. (At: include/pto/common/tassign_check.hpp; Fix: FIX-A12)

Runtime checks (PTO_ASSERT)

  • PA-0001 blockLen is a multiple of 64 (At: include/pto/npu/a2a3/TMrgSort.hpp:282; Fix: -)
  • PA-0002 Data type must be int8_t/uint8_t/int16_t/uint16_t/int32_t/uint32_t/int64_t/uint64_t/half/bfloat16_t/float! (At: include/pto/npu/a2a3/TStore.hpp:395; Fix: -)
  • PA-0003 ERROR: The input Tile Valid size requirement is an integer multiple of blockLen * 4. (At: include/pto/npu/a2a3/TMrgSort.hpp:283; Fix: FIX-A05)
  • PA-0004 ERROR: The range of Tile Valid divided by blockLen is [1,255]. (At: include/pto/npu/a2a3/TMrgSort.hpp:286; Fix: FIX-A05)
  • PA-0005 ERROR: The range of valid aMatrixCol is [1, 4095]. (At: include/pto/npu/a2a3/TMatmul.hpp:85; Fix: FIX-A05)
  • PA-0006 ERROR: The range of valid aMatrixRow is [1, 4095]. (At: include/pto/npu/a2a3/TMatmul.hpp:84; Fix: FIX-A05)
  • PA-0007 ERROR: The range of valid bMatrixCol is [1, 4095]. (At: include/pto/npu/a2a3/TMatmul.hpp:86; Fix: FIX-A05)
  • PA-0008 ERROR: Total memory usage exceeds UB limit! (At: include/pto/npu/a2a3/TMrgSort.hpp:214 (+3); Fix: -)
  • PA-0009 expect continuous memory for dst. (At: include/pto/npu/a2a3/TGather.hpp:125; Fix: FIX-A10)
  • PA-0010 illegal src is zero (At: include/pto/cpu/ElementOp.h:108 (+5); Fix: FIX-A11)
  • PA-0011 indexCol must be aligned (At: include/pto/npu/a2a3/TExtract.hpp:100 (+1); Fix: -)
  • PA-0012 indexCol must be aligned to 16 (At: include/pto/npu/a2a3/TExtract.hpp:193; Fix: -)
  • PA-0013 indexCol must be aligned to C0Size (At: include/pto/npu/a2a3/TExtract.hpp:91; Fix: -)
  • PA-0014 indexRow must be aligned (At: include/pto/npu/a2a3/TExtract.hpp:200 (+1); Fix: -)
  • PA-0015 indexRow must be aligned to 16 (At: include/pto/npu/a2a3/TExtract.hpp:90; Fix: -)
  • PA-0016 indexRow must be aligned to c0Size (At: include/pto/npu/a2a3/TExtract.hpp:192; Fix: -)
  • PA-0017 Number of columns of src and dst must be the same. (At: include/pto/npu/a2a3/TAddS.hpp:58 (+10); Fix: FIX-A05)
  • PA-0018 Number of columns of src and indexes must be the same. (At: include/pto/npu/a2a3/TScatter.hpp:61; Fix: FIX-A05)
  • PA-0019 Number of columns of src0, src1 and dst must be the same. (At: include/pto/npu/a2a3/TSels.hpp:197 (+1); Fix: FIX-A05)
  • PA-0020 Number of rows of src and dst must be the same. (At: include/pto/npu/a2a3/TAddS.hpp:59 (+7); Fix: FIX-A05)
  • PA-0021 Number of rows of src and indexes must be the same. (At: include/pto/npu/a2a3/TScatter.hpp:62; Fix: FIX-A05)
  • PA-0022 Number of rows of src0, src1 and dst must be the same. (At: include/pto/npu/a2a3/TSels.hpp:198 (+1); Fix: FIX-A05)
  • PA-0023 NZ2ND only supports 2D-to-2D conversions. (At: include/pto/npu/a2a3/TStore.hpp:352; Fix: -)
  • PA-0024 TABS: Number of columns of src and dst must be the same. (At: include/pto/npu/a2a3/TUnaryOp.hpp:378; Fix: FIX-A05)
  • PA-0025 TABS: Number of rows of src and dst must be the same. (At: include/pto/npu/a2a3/TUnaryOp.hpp:379; Fix: FIX-A05)
  • PA-0026 TEXP: Number of columns of src and dst must be the same. (At: include/pto/npu/a2a3/TUnaryOp.hpp:347; Fix: FIX-A05)
  • PA-0027 TEXP: Number of rows of src and dst must be the same. (At: include/pto/npu/a2a3/TUnaryOp.hpp:348; Fix: FIX-A05)
  • PA-0028 The 4th dim of DN shape must be 32 bytes aligned! (At: include/pto/npu/a2a3/TLoad.hpp:231 (+1); Fix: FIX-A09)
  • PA-0029 The 5th dim of ND shape must be 32 bytes aligned! (At: include/pto/npu/a2a3/TLoad.hpp:196 (+1); Fix: FIX-A09)
  • PA-0030 The input shape is invalid, validCol or validRow is 0. (At: include/pto/npu/a2a3/TRowReduceOps.hpp:190 (+2); Fix: FIX-A05,FIX-A09)
  • PA-0031 The input valid col must be consistent with the output valid row. (At: include/pto/npu/a2a3/TColReduceOps.hpp:87 (+1); Fix: FIX-A05)
  • PA-0032 The input valid row must be consistent with the output valid row. (At: include/pto/npu/a2a3/TRowReduceOps.hpp:191 (+2); Fix: FIX-A05)
  • PA-0033 The range of validCol is [1, 4095]. (At: include/pto/npu/a2a3/TStore.hpp:519; Fix: FIX-A05)
  • PA-0034 The shape of src and dst must be greater than 0! (At: include/pto/npu/a2a3/TLoad.hpp:375 (+1); Fix: FIX-A09)
  • PA-0035 The Shape3 of GlobalTensor must be in range of [1, 16384]! (At: include/pto/npu/a2a3/TLoad.hpp:312; Fix: FIX-A09)
  • PA-0036 The Shape3 of GlobalTensor must be must be in range of [1, 65535]! (At: include/pto/npu/a2a3/TLoad.hpp:340; Fix: FIX-A09)
  • PA-0037 The Shape4 of GlobalTensor must be in range of [1, 16384]! (At: include/pto/npu/a2a3/TLoad.hpp:339; Fix: FIX-A09)
  • PA-0038 The Shape4 of GlobalTensor must be must be in range of [1, 65535]! (At: include/pto/npu/a2a3/TLoad.hpp:313; Fix: FIX-A09)
  • PA-0039 The Stride3 of GlobalTensor must be must be in range of [1, 65535]! (At: include/pto/npu/a2a3/TLoad.hpp:314 (+1); Fix: FIX-A09)
  • PA-0040 The sum of indexCol and dstCol should be less than srcCol! (At: include/pto/npu/a2a3/TExtract.hpp:220; Fix: -)
  • PA-0041 The sum of indexRow and dstRow should be less than srcRow! (At: include/pto/npu/a2a3/TExtract.hpp:218; Fix: -)
  • PA-0042 The validCol of TileData must be equal to Shape0 * Shape1 * Shape4 of NZ shape! (At: include/pto/npu/a2a3/TLoad.hpp:148 (+3); Fix: FIX-A05,FIX-A09)
  • PA-0043 The validCol of TileData must be equal to the 4th dim(Shape3) of DN shape! (At: include/pto/npu/a2a3/TLoad.hpp:104 (+3); Fix: FIX-A05,FIX-A09)
  • PA-0044 The validCol of TileData must be equal to the 5th dim(Shape4) of ND shape! (At: include/pto/npu/a2a3/TLoad.hpp:198 (+4); Fix: FIX-A05,FIX-A09)
  • PA-0045 The validRow of TileData must be equal to (Shape0 * Shape1 * Shape2 * Shape3) of ND shape! (At: include/pto/npu/a2a3/TLoad.hpp:199 (+3); Fix: FIX-A05,FIX-A09)
  • PA-0046 The validRow of TileData must be equal to (Shape0 * Shape1 * Shape2 * Shape4) of DN shape! (At: include/pto/npu/a2a3/TLoad.hpp:105 (+3); Fix: FIX-A05,FIX-A09)
  • PA-0047 The validRow of TileData must be equal to Shape2 * Shape3 of NZ shape! (At: include/pto/npu/a2a3/TLoad.hpp:147 (+3); Fix: FIX-A05,FIX-A09)
  • PA-0048 The validRow of TileData must be equal to Shape3 of ND shape! (At: include/pto/npu/a2a3/TStore.hpp:354; Fix: FIX-A05,FIX-A09)
  • PA-0049 TLOG: Number of columns of src and dst must be the same. (At: include/pto/npu/a2a3/TUnaryOp.hpp:409; Fix: -)
  • PA-0050 TLOG: Number of rows of src and dst must be the same. (At: include/pto/npu/a2a3/TUnaryOp.hpp:410; Fix: -)
  • PA-0051 TPARTADD: At most one entry in the valid-rows and valid-cols of src0 and src1 is smaller than dst. (At: include/pto/npu/a2a3/TPartAdd.hpp:43; Fix: -)
  • PA-0052 TPARTMAX: At most one entry in the valid-rows and valid-cols of src0 and src1 is smaller than dst. (At: include/pto/npu/a2a3/TPartMax.hpp:43; Fix: -)
  • PA-0053 TPARTMIN: At most one entry in the valid-rows and valid-cols of src0 and src1 is smaller than dst. (At: include/pto/npu/a2a3/TPartMin.hpp:43; Fix: -)
  • PA-0054 TPARTOPS: At most one entry in the valid-rows and valid-cols of src0 and src1 is smaller than dst. (At: include/pto/npu/a2a3/TPartOp.hpp:180; Fix: -)
  • PA-0055 TRECIP: Number of columns of src and dst must be the same. (At: include/pto/npu/a2a3/TUnaryOp.hpp:440; Fix: -)
  • PA-0056 TRECIP: Number of rows of src and dst must be the same. (At: include/pto/npu/a2a3/TUnaryOp.hpp:441; Fix: -)
  • PA-0057 TROWEXPANDDIV: invalid src1 shape. (At: include/pto/npu/a2a3/TRowExpandDiv.hpp:63; Fix: FIX-A05,FIX-A09)
  • PA-0058 TROWEXPANDMUL: invalid src1 shape. (At: include/pto/npu/a2a3/TRowExpandMul.hpp:63; Fix: FIX-A05,FIX-A09)
  • PA-0059 TROWEXPANDSUB: invalid src1 shape. (At: include/pto/npu/a2a3/TRowExpandSub.hpp:63; Fix: FIX-A05,FIX-A09)
  • PA-0060 TRSQRT: Number of columns of src and dst must be the same. (At: include/pto/npu/a2a3/TUnaryOp.hpp:274; Fix: -)
  • PA-0061 TRSQRT: Number of rows of src and dst must be the same. (At: include/pto/npu/a2a3/TUnaryOp.hpp:275; Fix: -)
  • PA-0062 TSQRT: Number of columns of src and dst must be the same. (At: include/pto/npu/a2a3/TUnaryOp.hpp:316; Fix: -)
  • PA-0063 TSQRT: Number of rows of src and dst must be the same. (At: include/pto/npu/a2a3/TUnaryOp.hpp:317; Fix: -)
  • PA-0064 When GlobalData is ND format, the range of validRow is [1, 8192]. (At: include/pto/npu/a2a3/TStore.hpp:355; Fix: FIX-A05)

CPU simulator checks (assert)

  • CA-0001 assert (src.GetValidRow() == dst.GetValidRow() && src.GetValidRow() == dst.GetValidRow()); (At: include/pto/cpu/TMov.hpp:23)
  • CA-0002 assert((gShape0gShape1gShape2gShape3 == validRow && gShape4==validCol && TileData::isRowMajor) || (gShape0gShape1… (At: include/pto/cpu/TLoad.hpp:134 (+1))
  • CA-0003 assert(dst.GetValidCol() == DstTileData::Cols); (At: include/pto/cpu/TGather.hpp:119)
  • CA-0004 assert(gShape0==1 && gShape1==1 && gShape2==1 && "ND,DN -> Nz,Zn convertion does support only 2D GMs"); (At: include/pto/cpu/TLoad.hpp:145)
  • CA-0005 assert(gShape0==1 && gShape1==1 && gShape2==1 && "Nz,Zn -> ND,DN convertion does support only 2D GMs"); (At: include/pto/cpu/TStore.hpp:119)
  • CA-0006 assert(src.GetValidRow() - idxRow == dst.GetValidRow() && src.GetValidCol() - idxCol == dst.GetValidCol()); (At: include/pto/cpu/TExtract.hpp:20)
  • CA-0007 assert(validCol * sizeof(typename TileDataDst::TileDType) % 32 == 0); (At: include/pto/cpu/TGatherB.hpp:54)