(Optional) Installing the Dynamic Capacity Expansion Operator Package of the on-chip memory
To enable dynamic capacity expansion of the on-chip memory, compile and install the related operator package.
Procedure
- Set CANN environment variables in the container.
1source /usr/local/Ascend/cann/set_env.sh
- Download the Rec SDK.
- Decompress the package, go to the cust_op/ascendc_op/ai_core_op/cust_op_by_addr directory, and run the following command to compile and install the operator package for dynamic capacity expansion on the on-chip memory:
1bash run.sh
Parent topic: Common Operations