syclreference.com
  1. SYCL
  2. | API Reference
  3. | Error handling
  4. | exception_list

exception_list

List of exceptions thrown asynchronously, contains objects of type exception_ptr_class.

class cl::sycl::exception_list;

Types

Type Definition Notes
const_iterator
_exception_list::const_iterator

Constant iterator definition

const_reference
const cl::sycl::exception_list::value_type &

Constant reference type to a list element

iterator
_exception_list::iterator

iterator definition

reference
cl::sycl::exception_list::value_type &

Reference type to a list element

size_type
std::size_t

Type of the size of the list

value_type
cl::sycl::exception_ptr_class

Type of the list elements

Member Functions

(constructor)
(destructor)
begin

Returns The head of the error list

end

Returns The sentinel value representing the end of the error list

operator=
size

Number of reported errors.

Functions

add_exception_to_list
make_exception_list

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000