As an AI computing language development and operation platform, ACL provides APIs such as Device management, Context management, Stream management, memory management, model loading and execution, operator loading and execution, media data processing, etc., for users to develop AI applications and achieve target recognition , Image classification, language and word processing functions.
You can build GraphEngine from source. To build acl, please make sure that you have access to an Ascend310 environment as compiling environment, and make sure that following software requirements are fulfilled.
The output of building GraphEngine is a set of shared libraries which can be linked with cann, they are not meant to be used independently.
Download acl source code GraphEngine source code is available on Gitee:
git clone https://gitee.com/cann/acl.git
cd acl
Run the following command in the root directory of the source code to compile acl: To build with default options, simply:
bash build.sh
- Before running the preceding command, ensure that the relevant paths have been added to the environment variable PATH.
- In the build.sh script, the git clone command will be executed to obtain code from Gitee.com. Ensure that the network settings of Git are correct.
- In the build.sh script, the default number of compilation threads is 8. If the compiler performance is poor, compilation errors may occur. You can add -j{Number of threads} in to bash command to reduce the number of threads. For example,
bash build.sh -j4
.
For more information on other options of building acl:
bash build.sh –h
If you wish to clean all outputs from last build and try again:
rm -rf build/ output/
bash build.sh
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。