Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
asc_get_sub_block_num 当前实现直接返回 get_subblockdim()。但在 AIC 核上不存在 sub block 切分,sub block 数应恒为 1,而 get_subblockdim() 在 AIC 场景下不会返回 1,导致上层拿到错误的 sub block 数量,可能引起后续按 sub block 划分任务/数据时的逻辑异常(如分块数量偏大、地址计算越界或结果错误)。
asc_get_sub_block_num
get_subblockdim()
asc_get_sub_block_num()
相关修改已合入,本issue将关闭
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
asc_get_sub_block_num当前实现直接返回get_subblockdim()。但在 AIC 核上不存在 sub block 切分,sub block 数应恒为 1,而get_subblockdim()在 AIC 场景下不会返回 1,导致上层拿到错误的 sub block 数量,可能引起后续按 sub block 划分任务/数据时的逻辑异常(如分块数量偏大、地址计算越界或结果错误)。Environment / 环境信息 (Mandatory / 必填)
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
asc_get_sub_block_num();get_subblockdim()的结果)。Describe the expected behavior / 预期结果 (Mandatory / 必填)
asc_get_sub_block_num()应返回 1;get_subblockdim()。Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
Special notes for this issue/备注 (Optional / 选填)