Environment Setup
- Before UDF development, you need to install the driver firmware and Ascend-CANN-Toolkit. For details, see CANN Software Installation Guide.
- Configure the environment variable CANN package installation path ASCEND_INSTALL_PATH. During UDF compilation, search for the dependent header file and .so file based on this environment variable. If it is not set, the environment variable /usr/local/Ascend is used by default. A configuration example is provided as follows:
export ASCEND_INSTALL_PATH=CANN package installation path
Parent topic: Development Preparation