Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Obtains (but does not clear) the Runtime error code of the current thread.
1 | aclError aclrtPeekAtLastError(aclrtLastErrLevel level) |
1 | ret = acl.rt.peek_at_last_error(level) |
Parameter |
Description |
|---|---|
level |
Int, level of the error code to be obtained. Currently, only the thread level is supported. For details, see aclrtLastErrLevel. |
Return Value |
Description |
|---|---|
ret |
Int, 0 on success; else, failure. |