Line161. The result of "ACC_BUF_NUM * accBytes + PARAM_BUF_NUM * dtypeBytes" is out of range. Type of the expression is unsigned long, value range is 0 ~18446744073709551615. "ACC_BUF_NUM * accBytes" type is unsigned long, inferred from the context, value is "18446744073709551614"."PARAM_BUF_NUM * dtypeBytes" type is unsigned long, inferred from the context, value is "18446744073709551607"
ops/ops-nn/index/scatter_reduce_common/op_host/arch35/scatter_reduce_common_tiling.cpp
Line161. The result of "ACC_BUF_NUM * accBytes + PARAM_BUF_NUM * dtypeBytes" is out of range. Type of the expression is unsigned long, value range is 0 ~18446744073709551615. "ACC_BUF_NUM * accBytes" type is unsigned long, inferred from the context, value is "18446744073709551614"."PARAM_BUF_NUM * dtypeBytes" type is unsigned long, inferred from the context, value is "18446744073709551607"
// 各自向上按 block 对齐的损失。列上限由容量反解, 而非先定死再判超限 —— sliceSize 再大
// 也只是多切几个 chunk, 不存在因某轴过大而不支持。
static uint64_t ResolveUbChunkMax(gert::TilingContext* context)
问题点
Line143. pointer parameter context can be pointer to const
告警处理帮助
点赞
问题反馈
{
constexpr uint64_t BLOCK_BYTES = static_cast<uint64_t>(ScatterReduceCommon::UB_BLOCK_BYTES);