DPC++ Runtime
Runtime libraries for oneAPI DPC++
exception.hpp File Reference
#include <sycl/backend_types.hpp>
#include <sycl/detail/cl.h>
#include <sycl/detail/common.hpp>
#include <sycl/detail/export.hpp>
#include <sycl/detail/pi.h>
#include <sycl/stl.hpp>
#include <exception>
Include dependency graph for exception.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sycl::_V1::detail::SYCLCategory
 
class  sycl::_V1::exception
 
struct  std::is_error_code_enum< sycl::errc >
 

Namespaces

 sycl
 ---— Error handling, matching OpenCL plugin semantics.
 
 sycl::_V1
 
 sycl::_V1::detail
 
 std
 

Typedefs

template<backend B>
using sycl::_V1::errc_for = typename backend_traits< B >::errc
 

Enumerations

enum class  sycl::_V1::errc : unsigned int {
  sycl::_V1::success = 0 , sycl::_V1::runtime = 1 , sycl::_V1::kernel = 2 , sycl::_V1::accessor = 3 ,
  sycl::_V1::nd_range = 4 , sycl::_V1::event = 5 , sycl::_V1::kernel_argument = 6 , sycl::_V1::build = 7 ,
  sycl::_V1::invalid = 8 , sycl::_V1::memory_allocation = 9 , sycl::_V1::platform = 10 , sycl::_V1::profiling = 11 ,
  sycl::_V1::feature_not_supported = 12 , sycl::_V1::kernel_not_supported = 13 , sycl::_V1::backend_mismatch = 14
}
 

Functions

std::error_code sycl::_V1::make_error_code (sycl::errc E) noexcept
 Constructs an error code using e and sycl_category() More...
 
const std::error_category & sycl::_V1::sycl_category () noexcept