AUTO_USE_UC_MEMORY

Description

Controls whether to allow operators to transfer data without passing through the L2 cache.

Possible values are:

  • 0 or other values: no. All data transferred by operators must pass through the L2 cache.
  • 1: yes. The operator can transfer data without passing through the L2 cache, which is determined by the logic in the operator kernel code. The default value is 1.

    If this variable is set to 1, the performance of some operators can be improved, but AI Core errors may occur.

This environment variable is for trial use and may be changed in later versions. Therefore, it cannot be used in commercial products.

Example

export AUTO_USE_UC_MEMORY=0

Restrictions

This environment variable is read when aclInit is called for initialization.

Applicability

Atlas inference products

Atlas A2 training products/Atlas A2 inference products

Atlas A3 training products/Atlas A3 inference products