DPC++ Runtime
Runtime libraries for oneAPI DPC++
exception.cpp File Reference
#include <detail/global_handler.hpp>
#include <sycl/context.hpp>
#include <sycl/exception.hpp>
#include <cstring>
#include <sstream>
Include dependency graph for exception.cpp:

Go to the source code of this file.

Namespaces

 sycl
 
 sycl::_V1
 
 sycl::_V1::detail
 

Macros

#define _UR_ERRC(NAME)
 
#define _UR_ERRC_WITH_MSG(NAME, MSG)
 

Functions

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

Macro Definition Documentation

◆ _UR_ERRC

#define _UR_ERRC (   NAME)
Value:
case NAME: \
return #NAME;

◆ _UR_ERRC_WITH_MSG

#define _UR_ERRC_WITH_MSG (   NAME,
  MSG 
)
Value:
case NAME: \
return MSG;