Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public
Document Table of Contents

get_error_operation_id

Returns the ID of the last failed operation.

Syntax

unsigned int get_error_operation_id()

Description

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.

Return Values

ID of last failed operation.