Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
sparseApply 系列算子(SparseApplyFtrlV2、SparseApplyProximalAdagrad、SparseApplyRMSProp)arch35 架构下的 tiling 相关代码 tiling 辅助函数参数增加 const 限定:在三个算子的 op_host/arch35/_tiling.cpp 中,将 GetPlatformInfo、ValidateVarRank、ValidateIndicesRank、ValidateStateTensorShapes、ValidateGradShape、ValidateDtypes、ValidateScalarInputs、ValidateInputs、GetShapeInfo 等静态函数的 gert::TilingContext 参数统一改为 const gert::TilingContext*,明确这些函数只读上下文而不修改其内容。 tiling 数据结构头文件补充 包含:在三个算子的 op_kernel/arch35/*_tiling_data.h 头文件中新增 #include ,为其中使用的 int32_t、int64_t 类型提供显式的标准头文件依赖
ascned950
rt
/assign
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
sparseApply 系列算子(SparseApplyFtrlV2、SparseApplyProximalAdagrad、SparseApplyRMSProp)arch35 架构下的 tiling 相关代码 包含:在三个算子的 op_kernel/arch35/*_tiling_data.h 头文件中新增 #include ,为其中使用的 int32_t、int64_t 类型提供显式的标准头文件依赖
tiling 辅助函数参数增加 const 限定:在三个算子的 op_host/arch35/_tiling.cpp 中,将 GetPlatformInfo、ValidateVarRank、ValidateIndicesRank、ValidateStateTensorShapes、ValidateGradShape、ValidateDtypes、ValidateScalarInputs、ValidateInputs、GetShapeInfo 等静态函数的 gert::TilingContext 参数统一改为 const gert::TilingContext*,明确这些函数只读上下文而不修改其内容。
tiling 数据结构头文件补充
Environment / 环境信息 (Mandatory / 必填)
ascned950
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
rt
Describe the expected behavior / 预期结果 (Mandatory / 必填)
rt
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
rt
Special notes for this issue/备注 (Optional / 选填)