CANN/asc-devkit最新管理器模块
latest_manager Module Description【免费下载链接】asc-devkit本项目是CANN 推出的昇腾AI处理器专用的算子程序开发语言原生支持C和C标准规范主要由类库和语言扩展层构成提供多层级API满足多维场景算子开发诉求。项目地址: https://gitcode.com/cann/asc-devkitOverviewlatest_manager resolves version compatibility issues in multi-version latest directories.Compatibility Analysislatest_manager has three compatibility relationships:latest_manager compatibility with version scriptsVersion data compatibility with latest_managerlatest_manager new version compatibility with old versionslatest_manager Compatibility with Version ScriptsVersion scripts call the manager.sh script of latest_manager to send messages to latest_manager. The manager.sh script must remain compatible with the message format of older scripts. Ensure that you only add parameters without removing any during the compatibility period.Version Data Compatibility with latest_managerlatest_manager reads files from the version package directory. You must maintain compatibility for the following file formats:ascend_install.infoversion.infoscript/filelist.csvlatest_manager calls files from the version package directory. You must maintain compatibility for the following file invocation methods:script/[package]_custom_create_softlink.shscript/[package]_custom_remove_softlink.shlatest_manager indirectly calls files from the version package directory. You must maintain compatibility for the following file invocation methods:bin/prereq_check.*bin/setenv.*latest_manager New Version Compatibility with Old VersionsData Compatibility When you upgrade from an old version of latest_manager to a new version, you must convert the data generated by the old version to the new version. For example, if the new version changes version.cfg to version.json, you must perform automatic data migration during the upgrade.Functional Compatibility When latest_manager calls functions from version scripts, the new version functions must remain compatible with the old version functions.This imposes the following requirements on latest_manager code management:When latest_manager generates new data, you must design and review it. Whenever you generate new data, you must handle compatibility.You must record the historical versions of data generated by latest_manager to facilitate data migration.When latest_manager calls functions from version scripts, you must only add functionality, not remove it.【免费下载链接】asc-devkit本项目是CANN 推出的昇腾AI处理器专用的算子程序开发语言原生支持C和C标准规范主要由类库和语言扩展层构成提供多层级API满足多维场景算子开发诉求。项目地址: https://gitcode.com/cann/asc-devkit创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2634334.html
如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!