Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-20A1AA5A-6F6A-4B7C-81C9-2FDA9138DD6F
Visible to Intel only — GUID: GUID-20A1AA5A-6F6A-4B7C-81C9-2FDA9138DD6F
<span class='option'>get_error_operation_id</span>
Returns the ID of the last failed operation.
unsigned int get_error_operation_id() |
This method returns the ID of the last failed operation. If the error occurs during the execution of an asynchronous operation, the asynchronous thread stops executing the queue of the asynchronous operations and waits for new user requests.
To obtain the error status of the failed operation, use the wait() and get_status() methods.
ID of last failed operation.