DPC++ Runtime
Runtime libraries for oneAPI DPC++
common.cpp File Reference
#include <sycl/detail/common.hpp>
#include <sycl/detail/pi_error.def>
Include dependency graph for common.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define _PI_ERRC(NAME, VAL)
 
#define _PI_ERRC_WITH_MSG(NAME, VAL, MSG)
 

Functions

const char * sycl::_V1::detail::stringifyErrorCode (pi_int32 error)
 

Variables

static thread_local detail::code_location sycl::_V1::detail::GCodeLocTLS = {}
 CodeLocation information slot in thread local storage. More...
 

Macro Definition Documentation

◆ _PI_ERRC

#define _PI_ERRC (   NAME,
  VAL 
)
Value:
case NAME: \
return #NAME;

◆ _PI_ERRC_WITH_MSG

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