aclrtMemUceRepair

Note: This API is for trial use and may be changed in later versions. It is not available in production environments.

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

√

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

☓

Atlas inference products

☓

Atlas training products

☓

Function

Fixes the virtual address where a memory UCE occurs.

Prototype

1
aclError aclrtMemUceRepair(int32_t deviceId, aclrtMemUceInfo *memUceInfoArray, size_t arraySize)

Parameters

Parameter

Input/Output

Description

deviceId

Input

Device ID.

The value must be the same as the device ID in aclrtSetDevice.

memUceInfoArray

Input

Pointer to the aclrtMemUceInfo array.

arraySize

Input

Length of the aclrtMemUceInfo array.

Returns

0 on success; otherwise, failure. For details, see aclError.