已合并
/include/adv_api/hccl/目录下文件注释拼写错误整改 #5139
Z_ZW2025创建于 9 天前
/include/adv_api/hccl/目录下文件注释拼写错误整改 #5139
已合并
Z_ZW2025创建于 9 天前
7 个文件变更+16-16
Minclude/adv_api/hccl/internal/hccl.h+3-3
@@ -42,7 +42,7 @@ extern HcclResult HcclAllReduce(
42 * @param count An integer(u64) identifying the number of the data.42 * @param count An integer(u64) identifying the number of the data.
43 * @param dataType The data type of the operator, must be one of the following types: int8, int16, int32, int64,43 * @param dataType The data type of the operator, must be one of the following types: int8, int16, int32, int64,
44 * uint8, uint16, uint32, uint64, float16, float32, float64, bfp16.44 * uint8, uint16, uint32, uint64, float16, float32, float64, bfp16.
45- * @param root An integer(u32) identifying the the root rank in the operator.45+ * @param root An integer(u32) identifying the root rank in the operator.
46 * @param comm A pointer identifying the communication resource based on46 * @param comm A pointer identifying the communication resource based on
47 * @param stream A pointer identifying the stream information.47 * @param stream A pointer identifying the stream information.
48 * @return HcclResult48 * @return HcclResult
@@ -95,7 +95,7 @@ extern HcclResult HcclReduceScatterV(
95 * @param recvCount An integer(u64) identifying the number of the data.95 * @param recvCount An integer(u64) identifying the number of the data.
96 * @param dataType The data type of the operator, must be one of the following types: int8, uint8, int16,96 * @param dataType The data type of the operator, must be one of the following types: int8, uint8, int16,
97 * uint16, int32, uint32, int64, uint64, float16, float32, float64, bfp16.97 * uint16, int32, uint32, int64, uint64, float16, float32, float64, bfp16.
98- * @param root An integer(u32) identifying the the root rank in the operator.98+ * @param root An integer(u32) identifying the root rank in the operator.
99 * @param comm A pointer identifying the communication resource based on99 * @param comm A pointer identifying the communication resource based on
100 * @param stream A pointer identifying the stream information.100 * @param stream A pointer identifying the stream information.
101 * @return HcclResult101 * @return HcclResult
@@ -236,7 +236,7 @@ extern HcclResult HcclAlltoAll(
236 * @param dataType The data type of the operator, must be one of the following types: int8, int16, int32, int64,236 * @param dataType The data type of the operator, must be one of the following types: int8, int16, int32, int64,
237 * float16, float32, bfp16.237 * float16, float32, bfp16.
238 * @param op The reduction type of the operator, must be one of the following types: sum, min, max, prod.238 * @param op The reduction type of the operator, must be one of the following types: sum, min, max, prod.
239- * @param root An integer(u32) identifying the the root rank in the operator.239+ * @param root An integer(u32) identifying the root rank in the operator.
240 * @param comm A pointer identifying the communication resource based on.240 * @param comm A pointer identifying the communication resource based on.
241 * @param stream A pointer identifying the stream information.241 * @param stream A pointer identifying the stream information.
242 * @return HcclResult242 * @return HcclResult
Minclude/adv_api/hccl/internal/hcomm/externel_depends/tsch/hcomm_task_scheduler_error.h+4-4
@@ -28,11 +28,11 @@ typedef enum tag_ts_error {
28 TS_ERROR_TASK_CMD_QUEUE_EMPTY = 0x6, /**< task cmd queue is empty */28 TS_ERROR_TASK_CMD_QUEUE_EMPTY = 0x6, /**< task cmd queue is empty */
29 TS_ERROR_TASK_REPORT_QUEUE_FULL = 0x7, /**< task report queue is full */29 TS_ERROR_TASK_REPORT_QUEUE_FULL = 0x7, /**< task report queue is full */
30 TS_ERROR_TASK_REPORT_QUEUE_EMPTY = 0x8, /**< task report queue is empty */30 TS_ERROR_TASK_REPORT_QUEUE_EMPTY = 0x8, /**< task report queue is empty */
31- TS_ERROR_TASK_NODE_BUFF_ALL_OCCUPYED = 0x9, /**< all the node of public task buff are occupyed */31+ TS_ERROR_TASK_NODE_BUFF_ALL_OCCUPYED = 0x9, /**< all the node of public task buff are occupied */
32 TS_ERROR_TASK_NODE_BUFF_ALL_FREED = 0xA, /**< all the node of public task buff are free */32 TS_ERROR_TASK_NODE_BUFF_ALL_FREED = 0xA, /**< all the node of public task buff are free */
33 TS_ERROR_L2_MEM_INSUFFICIENT_SPACE = 0xB, /**< there is not enough space on l2 memory */33 TS_ERROR_L2_MEM_INSUFFICIENT_SPACE = 0xB, /**< there is not enough space on l2 memory */
34 TS_ERROR_L2_MALLOC_FAILED = 0xC, /**< malloc l2 failed */34 TS_ERROR_L2_MALLOC_FAILED = 0xC, /**< malloc l2 failed */
35- TS_ERROR_DMA_CHANNEL_ALL_OCCUPYED = 0xD, /**< all the dma channel are occupyed */35+ TS_ERROR_DMA_CHANNEL_ALL_OCCUPYED = 0xD, /**< all the dma channel are occupied */
36 TS_ERROR_MEMCPY_OP_FAILED = 0xE, /**< memcpy failed */36 TS_ERROR_MEMCPY_OP_FAILED = 0xE, /**< memcpy failed */
37 TS_ERROR_BS_SLOT_ALL_OCCUPYED = 0xF, /**< there is not free bs slot for new task */37 TS_ERROR_BS_SLOT_ALL_OCCUPYED = 0xF, /**< there is not free bs slot for new task */
38 TS_ERROR_TBS_SLOT_REPEAT_FREE = 0x10, /**< one free bs slot cannot be freed again */38 TS_ERROR_TBS_SLOT_REPEAT_FREE = 0x10, /**< one free bs slot cannot be freed again */
@@ -42,8 +42,8 @@ typedef enum tag_ts_error {
42 TS_ERROR_REPEAT_MARK_STREAM_NEED_SERVICE = 0x14, /**< repeat mark the stream list need service */42 TS_ERROR_REPEAT_MARK_STREAM_NEED_SERVICE = 0x14, /**< repeat mark the stream list need service */
43 TS_ERROR_SYS_DMA_CHANNEL_ALL_OCCUPAPYED = 0x15, /**< system dma channel all occupapyed */43 TS_ERROR_SYS_DMA_CHANNEL_ALL_OCCUPAPYED = 0x15, /**< system dma channel all occupapyed */
44 TS_ERROR_NO_HBML2TASKNODE_FOUND = 0x16, /**< no hbm l2 task node found */44 TS_ERROR_NO_HBML2TASKNODE_FOUND = 0x16, /**< no hbm l2 task node found */
45- TS_ERROR_SQNODE_NODE_SLOT_ALL_OCCUPAPYED = 0x17, /**< all the node of the current sq are occupyed */45+ TS_ERROR_SQNODE_NODE_SLOT_ALL_OCCUPAPYED = 0x17, /**< all the node of the current sq are occupied */
46- TS_ERROR_CQNODE_NODE_SLOT_ALL_OCCUPAPYED = 0x18, /**< all the node of the current sq are occupyed */46+ TS_ERROR_CQNODE_NODE_SLOT_ALL_OCCUPAPYED = 0x18, /**< all the node of the current sq are occupied */
47 TS_ERROR_SQNODE_NOT_ENOUGH = 0x19, /**< the sq node is not enough for data transfer */47 TS_ERROR_SQNODE_NOT_ENOUGH = 0x19, /**< the sq node is not enough for data transfer */
48 TS_ERROR_SQNODE_SLOT_REPEAT_FREE = 0x1A, /**< sq node slot repeat free */48 TS_ERROR_SQNODE_SLOT_REPEAT_FREE = 0x1A, /**< sq node slot repeat free */
49 TS_ERROR_CQNODE_SLOT_REPEAT_FREE = 0x1B, /**< cq node slot repeat free */49 TS_ERROR_CQNODE_SLOT_REPEAT_FREE = 0x1B, /**< cq node slot repeat free */
Minclude/adv_api/hccl/internal/hcomm/externel_depends/tsch/hcomm_tsch_defines.h+1-1
@@ -94,7 +94,7 @@ typedef char char_t;
94 94 
95/**95/**
96 * @ingroup tsch96 * @ingroup tsch
97- * @brief the number of task commands for one prefatch from SQ queue97+ * @brief the number of task commands for one prefetch from SQ queue
98 */98 */
99#define ONE_SQ_PREFECH_NUM (4U)99#define ONE_SQ_PREFECH_NUM (4U)
100 100 
Minclude/adv_api/hccl/internal/hcomm/externel_depends/tsch/task_scheduler_error.h+4-4
@@ -28,11 +28,11 @@ typedef enum tag_ts_error {
28 TS_ERROR_TASK_CMD_QUEUE_EMPTY = 0x6, /**< task cmd queue is empty */28 TS_ERROR_TASK_CMD_QUEUE_EMPTY = 0x6, /**< task cmd queue is empty */
29 TS_ERROR_TASK_REPORT_QUEUE_FULL = 0x7, /**< task report queue is full */29 TS_ERROR_TASK_REPORT_QUEUE_FULL = 0x7, /**< task report queue is full */
30 TS_ERROR_TASK_REPORT_QUEUE_EMPTY = 0x8, /**< task report queue is empty */30 TS_ERROR_TASK_REPORT_QUEUE_EMPTY = 0x8, /**< task report queue is empty */
31- TS_ERROR_TASK_NODE_BUFF_ALL_OCCUPYED = 0x9, /**< all the node of public task buff are occupyed */31+ TS_ERROR_TASK_NODE_BUFF_ALL_OCCUPYED = 0x9, /**< all the node of public task buff are occupied */
32 TS_ERROR_TASK_NODE_BUFF_ALL_FREED = 0xA, /**< all the node of public task buff are free */32 TS_ERROR_TASK_NODE_BUFF_ALL_FREED = 0xA, /**< all the node of public task buff are free */
33 TS_ERROR_L2_MEM_INSUFFICIENT_SPACE = 0xB, /**< there is not enough space on l2 memory */33 TS_ERROR_L2_MEM_INSUFFICIENT_SPACE = 0xB, /**< there is not enough space on l2 memory */
34 TS_ERROR_L2_MALLOC_FAILED = 0xC, /**< malloc l2 failed */34 TS_ERROR_L2_MALLOC_FAILED = 0xC, /**< malloc l2 failed */
35- TS_ERROR_DMA_CHANNEL_ALL_OCCUPYED = 0xD, /**< all the dma channel are occupyed */35+ TS_ERROR_DMA_CHANNEL_ALL_OCCUPYED = 0xD, /**< all the dma channel are occupied */
36 TS_ERROR_MEMCPY_OP_FAILED = 0xE, /**< memcpy failed */36 TS_ERROR_MEMCPY_OP_FAILED = 0xE, /**< memcpy failed */
37 TS_ERROR_BS_SLOT_ALL_OCCUPYED = 0xF, /**< there is not free bs slot for new task */37 TS_ERROR_BS_SLOT_ALL_OCCUPYED = 0xF, /**< there is not free bs slot for new task */
38 TS_ERROR_TBS_SLOT_REPEAT_FREE = 0x10, /**< one free bs slot cannot be freed again */38 TS_ERROR_TBS_SLOT_REPEAT_FREE = 0x10, /**< one free bs slot cannot be freed again */
@@ -42,8 +42,8 @@ typedef enum tag_ts_error {
42 TS_ERROR_REPEAT_MARK_STREAM_NEED_SERVICE = 0x14, /**< repeat mark the stream list need service */42 TS_ERROR_REPEAT_MARK_STREAM_NEED_SERVICE = 0x14, /**< repeat mark the stream list need service */
43 TS_ERROR_SYS_DMA_CHANNEL_ALL_OCCUPAPYED = 0x15, /**< system dma channel all occupapyed */43 TS_ERROR_SYS_DMA_CHANNEL_ALL_OCCUPAPYED = 0x15, /**< system dma channel all occupapyed */
44 TS_ERROR_NO_HBML2TASKNODE_FOUND = 0x16, /**< no hbm l2 task node found */44 TS_ERROR_NO_HBML2TASKNODE_FOUND = 0x16, /**< no hbm l2 task node found */
45- TS_ERROR_SQNODE_NODE_SLOT_ALL_OCCUPAPYED = 0x17, /**< all the node of the current sq are occupyed */45+ TS_ERROR_SQNODE_NODE_SLOT_ALL_OCCUPAPYED = 0x17, /**< all the node of the current sq are occupied */
46- TS_ERROR_CQNODE_NODE_SLOT_ALL_OCCUPAPYED = 0x18, /**< all the node of the current sq are occupyed */46+ TS_ERROR_CQNODE_NODE_SLOT_ALL_OCCUPAPYED = 0x18, /**< all the node of the current sq are occupied */
47 TS_ERROR_SQNODE_NOT_ENOUGH = 0x19, /**< the sq node is not enough for data transfer */47 TS_ERROR_SQNODE_NOT_ENOUGH = 0x19, /**< the sq node is not enough for data transfer */
48 TS_ERROR_SQNODE_SLOT_REPEAT_FREE = 0x1A, /**< sq node slot repeat free */48 TS_ERROR_SQNODE_SLOT_REPEAT_FREE = 0x1A, /**< sq node slot repeat free */
49 TS_ERROR_CQNODE_SLOT_REPEAT_FREE = 0x1B, /**< cq node slot repeat free */49 TS_ERROR_CQNODE_SLOT_REPEAT_FREE = 0x1B, /**< cq node slot repeat free */
Minclude/adv_api/hccl/internal/hcomm/externel_depends/tsch/tsch_defines.h+1-1
@@ -94,7 +94,7 @@ typedef char char_t;
94 94 
95/**95/**
96 * @ingroup tsch96 * @ingroup tsch
97- * @brief the number of task commands for one prefatch from SQ queue97+ * @brief the number of task commands for one prefetch from SQ queue
98 */98 */
99#define ONE_SQ_PREFECH_NUM (4U)99#define ONE_SQ_PREFECH_NUM (4U)
100 100 
Minclude/adv_api/hccl/internal/hcomm/pkg_inc/hcomm/ccu/ccu_kernel_signature.h+1-1
@@ -44,7 +44,7 @@ public:
44 44 
45 std::string Describe() const { return "CcuKernelSignature[data=" + data.str() + "]"; }45 std::string Describe() const { return "CcuKernelSignature[data=" + data.str() + "]"; }
46 46 
47- // 下掉CcuContext GetSignatrue47+ // 下掉CcuContext GetSignature
48 std::string GetData() const { return data.str(); }48 std::string GetData() const { return data.str(); }
49 49 
50 friend class std::hash<hcomm::CcuKernelSignature>;50 friend class std::hash<hcomm::CcuKernelSignature>;
Minclude/adv_api/hccl/internal/hcomm/pkg_inc/hcomm/ccu/ccu_microcode_v1.h+2-2
@@ -713,11 +713,11 @@ struct CcuInstrTransMem {
713 uint16_t xcId; // 存储使用的channelId713 uint16_t xcId; // 存储使用的channelId
714 uint16_t xnId; // 存储notify/atomic的目的地址714 uint16_t xnId; // 存储notify/atomic的目的地址
715 uint16_t xntId; // 存储notify/atomic的目的Token715 uint16_t xntId; // 存储notify/atomic的目的Token
716- uint32_t value; // notify value, atomic store add value, immeidata data, 视不同的opCode确定, 只支持32bit716+ uint32_t value; // notify value, atomic store add value, immediate data, 视不同的opCode确定, 只支持32bit
717 uint16_t udfType : 8;717 uint16_t udfType : 8;
718 uint16_t reduceDataType : 4;718 uint16_t reduceDataType : 4;
719 uint16_t reduceOpCode : 4;719 uint16_t reduceOpCode : 4;
720- uint16_t dmaOpCode : 8; // wqe中的opcode,支持0x0: send,0x1: send with immediata,0x3: Write,0x5: Write with720+ uint16_t dmaOpCode : 8; // wqe中的opcode,支持0x0: send,0x1: send with immediate,0x3: Write,0x5: Write with
721 // Notify,0x6: Read,0x70: Write with atomic store add721 // Notify,0x6: Read,0x70: Write with atomic store add
722 uint16_t order : 3;722 uint16_t order : 3;
723 uint16_t fence : 1;723 uint16_t fence : 1;