Update code style and model and bugfix for unknown insn code.

This commit is contained in:
liuf9 2024-12-04 16:49:29 +08:00
parent 7cf839164a
commit 61ceaf1a6a
3 changed files with 7 additions and 20279 deletions

File diff suppressed because it is too large Load Diff

View File

@ -14,16 +14,14 @@
Summary: %{name} is a framework which enables compilers compilers to integrate ML-driven compiler optimization. Summary: %{name} is a framework which enables compilers compilers to integrate ML-driven compiler optimization.
Name: AI4C Name: AI4C
Version: 1.0.3 Version: 1.0.4
Release: 2 Release: 1
# Package onnxruntime and SafeInt have MIT License. # Package onnxruntime and SafeInt have MIT License.
# Package onnx has Apache License 2.0. # Package onnx has Apache License 2.0.
License: MIT and ASL 2.0 and Boost and BSD License: MIT and ASL 2.0 and Boost and BSD
URL: https://gitee.com/openeuler/AI4C URL: https://gitee.com/openeuler/AI4C
Source0: %{pkg_version}.tar.gz Source0: %{pkg_version}.tar.gz
Patch1: 0001-Add-inline_unroll-plugin-and-models.patch
BuildRequires: cmake >= 3.13 BuildRequires: cmake >= 3.13
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
@ -101,6 +99,8 @@ pushd %{build_dir}/python
%files %files
%{_includedir}/* %{_includedir}/*
%{_libdir}/* %{_libdir}/*
%{python3_sitelib}/*egg-info
%{python3_sitelib}/ai4c
/usr/bin/ai4c-autotune /usr/bin/ai4c-autotune
/usr/bin/ai4c-g++ /usr/bin/ai4c-g++
/usr/bin/ai4c-gcc /usr/bin/ai4c-gcc
@ -109,6 +109,9 @@ pushd %{build_dir}/python
%changelog %changelog
* Wed Dec 04 2024 Feiyang Liu <liufeiyang6@huawei.com> - 1.0.4-1
- Update AI4C from v1.0.3 to v1.0.4.
* Wed Nov 27 2024 Chenhui Zheng <zhengchenhui1@huawei.com> - 1.0.3-2 * Wed Nov 27 2024 Chenhui Zheng <zhengchenhui1@huawei.com> - 1.0.3-2
- Add inline_unroll plugin and models - Add inline_unroll plugin and models