下载
中文
注册

运行WarpAffineHiper或WarpPerspective接口出现Synchronize stream execution failed错误

问题现象

运行WarpAffineHiper或WarpPerspective接口,出现Synchronize stream execution failed. (Calling Function = aclrtSynchronizeStream, Code = 507014, Message = "ACL error, please refer to the document of CANN.") 的错误(错误码507014)。

原因分析

输入shape过大或使用转换矩阵的计算量过大,导致aicore执行超时。

解决方案

使用数据切分方式拆分shape或改变转换矩阵以减少数据量。