diff --git a/docs/en/embedded/_toc.yaml b/docs/en/embedded/_toc.yaml index 24d39ed793a32883f758e53813e9369065889827..e96f77977434390a5b3fdce35832335bc4299242 100644 --- a/docs/en/embedded/_toc.yaml +++ b/docs/en/embedded/_toc.yaml @@ -5,5 +5,5 @@ sections: description: openEuler Embedded is a lightweight, secure, real-time OS tailored for embedded environments, with support for various hardware architectures. - label: UniProton User Guide href: - upstream: https://gitee.com/openeuler/UniProton/blob/master/docs/en/_toc.yaml - path: ./uniproton + upstream: https://gitee.com/openeuler/UniProton/blob/master/docs/en/_toc.yaml + path: ./uniproton diff --git a/docs/en/server/_toc.yaml b/docs/en/server/_toc.yaml index 1718e20a9d335b55d265ba35039ebb092b856f5e..f660b3d5eb89b1386890256ad19893d1c9724bf7 100644 --- a/docs/en/server/_toc.yaml +++ b/docs/en/server/_toc.yaml @@ -32,7 +32,7 @@ sections: - href: ./security/secharden/_toc.yaml - href: ./security/trusted_computing/_toc.yaml - href: - upstream: https://gitee.com/openeuler/secGear/blob/master/docs/en/2403_LTS_SP2/_toc.yaml + upstream: https://gitee.com/openeuler/secGear/blob/master/sdk/docs/en/2403_LTS_SP2/_toc.yaml path: ./secgear - href: upstream: https://gitee.com/openeuler/cve-ease/blob/master/docs/en/24.03_lts_sp2/_toc.yaml diff --git a/docs/en/tools/security/_toc.yaml b/docs/en/tools/security/_toc.yaml index b6d43d6f695b429b64f2438b592febcebabe9811..88be2a0b60f513c51f0f9c7494dab4be8245b4b3 100644 --- a/docs/en/tools/security/_toc.yaml +++ b/docs/en/tools/security/_toc.yaml @@ -1,5 +1,5 @@ label: Security sections: - href: - upstream: https://gitee.com/openeuler/secGear/blob/master/docs/en/2403_LTS_SP2/_toc.yaml + upstream: https://gitee.com/openeuler/secGear/blob/master/sdk/docs/en/2403_LTS_SP2/_toc.yaml path: ./secgear diff --git a/docs/zh/server/_toc.yaml b/docs/zh/server/_toc.yaml index 6c1958ea1fd5242dc48e6252d67b56955281bdac..20d6efbf03e8fdefa9ad7b223577329f3d4e415a 100644 --- a/docs/zh/server/_toc.yaml +++ b/docs/zh/server/_toc.yaml @@ -32,7 +32,7 @@ sections: - href: ./security/secharden/_toc.yaml - href: ./security/trusted_computing/_toc.yaml - href: - upstream: https://gitee.com/openeuler/secGear/blob/master/docs/zh/2403_LTS_SP2/_toc.yaml + upstream: https://gitee.com/openeuler/secGear/blob/master/sdk/docs/zh/2403_LTS_SP2/_toc.yaml path: ./secgear - href: upstream: https://gitee.com/openeuler/cve-ease/blob/master/docs/zh/24.03_lts_sp2/_toc.yaml diff --git a/docs/zh/server/development/ai4c/ai4c_user_manual.md b/docs/zh/server/development/ai4c/ai4c_user_manual.md index 054c4e9cdeeeef52216daa69d01876895d08e360..20682c362a26e84a64b6c153d4230f2dd1d0dd2b 100644 --- a/docs/zh/server/development/ai4c/ai4c_user_manual.md +++ b/docs/zh/server/development/ai4c/ai4c_user_manual.md @@ -9,12 +9,12 @@ AI4C 代表 AI 辅助编译器的套件,是一个使编译器能够集成机 本框架包含以下几个模块,自动编译调优工具依赖 python 环境: * AI 辅助编译优化的推理引擎,驱动编译器在优化 pass 内使用AI模型推理所获得的结果实现编译优化。 - * 当前 GCC 内的 AI 使能优化 pass 基本通过编译器插件的形式实现,与编译器主版本解耦。 + * 当前 GCC 内的 AI 使能优化 pass 基本通过编译器插件的形式实现,与编译器主版本解耦。 * 自动编译调优工具,通过编译器外部的调优工具(OpenTuner)驱动编译器执行多层粒度的自动编译调优,当前支持 GCC 和 LLVM 编译器。 - * 选项调优工具,用于应用级的编译选项调优。 - * 编译调优工具,基于 [Autotuner](https://gitee.com/openeuler/BiSheng-Autotuner) 实现,可实现细粒度和粗粒度的编译调优。 - * 细粒度调优,调优优化 pass 内的关键优化参数,例如,循环展开的次数(unroll count)。 - * 粗粒度调优,调优函数级的编译选项。 + * 选项调优工具,用于应用级的编译选项调优。 + * 编译调优工具,基于 [Autotuner](https://gitee.com/openeuler/BiSheng-Autotuner) 实现,可实现细粒度和粗粒度的编译调优。 + * 细粒度调优,调优优化 pass 内的关键优化参数,例如,循环展开的次数(unroll count)。 + * 粗粒度调优,调优函数级的编译选项。 未来规划方向: @@ -168,8 +168,8 @@ pip3 install dist/ai4c----_.w * `path/to/your/onnxruntime/lib64/libonnxruntime.so`: ONNX Runtime 的推理框架动态库 * `path/to/your/AI4C/models/*.onnx`: AI 辅助编译优化模型(ONNX 格式) * `path/to/your/pythonlib/ai4c/lib/*.so`: - * AI 辅助编译优化的推理引擎动态库 - * AI 辅助编译优化与编译调优的编译器插件动态库 + * AI 辅助编译优化的推理引擎动态库 + * AI 辅助编译优化与编译调优的编译器插件动态库 * `path/to/your/pythonlib/ai4c/autotuner/*`: 粗、细粒度调优工具的相关文件 * `path/to/your/pythonlib/ai4c/optimizer/*`: AI 辅助编译优化的相关文件 * `path/to/your/pythonlib/ai4c/option_tuner/*`: 应用级编译选项调优的相关文件 @@ -291,7 +291,7 @@ yum install -y BiSheng-Autotuner bisheng-opentuner * 提供应用路径、应用的编译与运行命令。 * 在基础编译命令中加入细粒度调优的动态库`-fplugin=%(PluginPath)s/rtl_unroll_autotune_plugin_gcc12.so`。 - * 在`generate`和`autotune`阶段,分别加入`-fplugin-arg-rtl_unroll_autotune_plugin_gcc12-`的相应输入文件。 + * 在`generate`和`autotune`阶段,分别加入`-fplugin-arg-rtl_unroll_autotune_plugin_gcc12-`的相应输入文件。 * 可自定义可调优结构配置文件的路径(`./opp/*.yaml`)、Autotuner 生成的编译器输入文件路径(`input.yaml`)等。 ```ini @@ -301,7 +301,7 @@ yum install -y BiSheng-Autotuner bisheng-opentuner [Environment Setting] # optional # prepend a list of paths into the PATH in order. # PATH = /path/to/bin -# you can also set other enviroment variables here too +# you can also set other environment variables here too [Compiling Setting] # required # NOTE: ConfigFilePath is set to the path to the current config file automatically by default. @@ -332,7 +332,7 @@ OppCompileCommand = %(BaseCommand)s \ -fplugin-arg-rtl_unroll_autotune_plugin_gcc12-generate=%(OppDir)s ``` -其次,我们可以准备一份额外的参数搜索空间文件`seach_space.yaml`,自定义缩小参数空间。例如,动态库默认选择循环展开系数空间为$\{0, 2^0=1, 2^1=2, ..., 2^6=64\}$,我们可以把搜索空间调整为$\{0, 2^0=1, 2^1=2, ..., 2^5=32\}$。 +其次,我们可以准备一份额外的参数搜索空间文件`search_space.yaml`,自定义缩小参数空间。例如,动态库默认选择循环展开系数空间为$\{0, 2^0=1, 2^1=2, ..., 2^6=64\}$,我们可以把搜索空间调整为$\{0, 2^0=1, 2^1=2, ..., 2^5=32\}$。 ```yaml CodeRegion: @@ -391,7 +391,7 @@ yum install -y BiSheng-Autotuner bisheng-opentuner * 提供应用路径、应用的编译与运行命令。 * 在基础编译命令中加入粗粒度调优的动态库`-fplugin=%(PluginPath)s/coarse_option_tuning_plugin_gcc12.so`和编译选项全集文件`-fplugin-arg-coarse_option_tuning_plugin_gcc12-yaml=`。 - * 在`generate`和`autotune`阶段,分别加入`-fplugin-arg-coarse_option_tuning_plugin_gcc12-`的相应输入文件。 + * 在`generate`和`autotune`阶段,分别加入`-fplugin-arg-coarse_option_tuning_plugin_gcc12-`的相应输入文件。 * 可自定义可调优结构配置文件的路径(`./opp/*.yaml`)、Autotuner 生成的编译器输入文件路径(`input.yaml`)等。 ```ini @@ -423,7 +423,7 @@ OppCompileCommand = %(BaseCommand)s \ -fplugin-arg-coarse_option_tuning_plugin_gcc12-generate=%(OppDir)s ``` -其次,我们可以准备一份额外的参数搜索空间文件`seach_space.yaml`,自定义参数空间。例如,在以下文件中,我们将搜索空间限制在预取相关选项上的调优。 +其次,我们可以准备一份额外的参数搜索空间文件`search_space.yaml`,自定义参数空间。例如,在以下文件中,我们将搜索空间限制在预取相关选项上的调优。 ```yaml CodeRegion: diff --git a/docs/zh/tools/security/_toc.yaml b/docs/zh/tools/security/_toc.yaml index 8fc05523a19a7ae549d6988db06384d8bc43991e..5b750c4a9be6cfef973112ba83ca51b064bd1660 100644 --- a/docs/zh/tools/security/_toc.yaml +++ b/docs/zh/tools/security/_toc.yaml @@ -1,5 +1,5 @@ label: 安全 sections: - href: - upstream: https://gitee.com/openeuler/secGear/blob/master/docs/zh/2403_LTS_SP2/_toc.yaml + upstream: https://gitee.com/openeuler/secGear/blob/master/sdk/docs/zh/2403_LTS_SP2/_toc.yaml path: ./secgear