aclrtGetMemUceInfo
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 |
|---|---|
√ |
|
√ |
|
√ |
|
☓ |
|
☓ |
|
☓ |
Function
Obtains the virtual address where a memory uncorrectable error (UCE, which cannot be directly handled by the system hardware) occurs.
Prototype
1 | aclError aclrtGetMemUceInfo(int32_t deviceId, aclrtMemUceInfo *memUceInfoArray, size_t arraySize, size_t *retSize) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
deviceId |
Input |
Device ID. The value must be the same as the device ID in aclrtSetDevice. |
memUceInfoArray |
Input/Output |
Pointer to the aclrtMemUceInfo array. For details about the type definition, see aclrtMemUceInfo. |
arraySize |
Input |
Length of the aclrtMemUceInfo array. |
retSize |
Output |
Valid length of the returned aclrtMemUceInfo array. |
Returns
0 on success; otherwise, failure. For details, see aclError.