Environment Setup
- Before UDF development, you need to install the driver firmware and Ascend-CANN-Toolkit. For details, see CANN Software Installation.
- Configure the environment variable ASCEND_INSTALL_PATH (CANN package installation path). During UDF compilation, search for the dependent header file and .so file based on this environment variable. If it is not set, /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