DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
cl::sycl::exception_list Class Reference

A list of asynchronous exceptions. More...

#include <CL/sycl/exception_list.hpp>

Public Types

using value_type = std::exception_ptr
 
using reference = value_type &
 
using const_reference = const value_type &
 
using size_type = std::size_t
 
using iterator = std::vector< std::exception_ptr >::const_iterator
 
using const_iterator = std::vector< std::exception_ptr >::const_iterator
 

Public Member Functions

size_type size () const
 
iterator begin () const
 
iterator end () const
 

Friends

class detail::queue_impl
 

Detailed Description

A list of asynchronous exceptions.

Definition at line 30 of file exception_list.hpp.

Member Typedef Documentation

◆ const_iterator

using cl::sycl::exception_list::const_iterator = std::vector<std::exception_ptr>::const_iterator

Definition at line 37 of file exception_list.hpp.

◆ const_reference

Definition at line 34 of file exception_list.hpp.

◆ iterator

using cl::sycl::exception_list::iterator = std::vector<std::exception_ptr>::const_iterator

Definition at line 36 of file exception_list.hpp.

◆ reference

◆ size_type

Definition at line 35 of file exception_list.hpp.

◆ value_type

using cl::sycl::exception_list::value_type = std::exception_ptr

Definition at line 32 of file exception_list.hpp.

Member Function Documentation

◆ begin()

exception_list::iterator cl::sycl::exception_list::begin ( ) const

Definition at line 19 of file exception_list.cpp.

◆ end()

exception_list::iterator cl::sycl::exception_list::end ( ) const

Definition at line 21 of file exception_list.cpp.

◆ size()

exception_list::size_type cl::sycl::exception_list::size ( ) const

Definition at line 17 of file exception_list.cpp.

Referenced by cl::sycl::detail::queue_impl::throw_asynchronous().

Friends And Related Function Documentation

◆ detail::queue_impl

friend class detail::queue_impl
friend

Definition at line 46 of file exception_list.hpp.


The documentation for this class was generated from the following files: