As described in Ascend Product Modes, two working modes are available: EP and RC. Note the following differences in app development for the two working modes.
Working Mode |
See Also |
|---|---|
EP |
Before setting up the development environment and operating environment, refer to: |
RC |
|
Note the following differences between the two working modes regarding app building in terms of the environment variable configuration and build command.
Working Mode |
Environment Variable |
|---|---|
EP |
|
RC |
In RC mode, the development environment runs Ubuntu (x86) while the operating environment runs Ubuntu (Arm). Configure the following environment variables: export DDK_PATH=$HOME/Ascend/ascend-toolkit/latest/arm64-linux export NPU_HOST_LIB=$HOME/Ascend/ascend-toolkit/latest/arm64-linux/runtime/lib64/stub |
$HOME/Ascend/ascend-toolkit/latest in the environment variable configuration in the table is for reference only.
Working Mode |
Environment Variable |
|---|---|
EP |
|
RC |
In RC mode, the development environment runs Ubuntu (x86) while the operating environment runs Ubuntu (Arm). The build command is: cmake ../../../src -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCMAKE_SKIP_RPATH=TRUE |