On-Chip Memory Pressure Test Failure Due to Memory Allocation Failure

Symptom

The on-chip memory pressure test fails. The following error messages are displayed:

[ERROR]...[hbm_stress.cpp xxxxx] aclrtMalloc failed, error code: 207001, device:xx
[ERROR]...[hbm_stress.cpp xxxxx] preOps failed.

Possible Causes

The NPU executes other tasks at the same time. As a result, the memory fails to be allocated during the on-chip memory pressure test.

Solution

When performing the on-chip memory pressure test, ensure that the NPU memory is sufficient. More than 90% of the NPU memory is required.