Environment Setup
- Complete the Driver and CANN software installation before developing custom operators. For details, see CANN Software Installation Guide.
- Set the environment variables.The CANN portfolio provides a process-level environment variable setting script to automatically set environment variables. The following commands are used as examples, in which the default installation paths are under the root or non-root user. Replace them with actual installation paths.
# Install Toolkit as the root user. . /usr/local/Ascend/ascend-toolkit/set_env.sh # Install Toolkit as a non-root user. . ${HOME}/Ascend/ascend-toolkit/set_env.sh - If you tend to develop custom operators in MindStudio, install MindStudio by referring to MindStudio IDE User Guide .
Parent topic: Development Preparations