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

Go to the source code of this file.

Namespaces

 sycl
 ---— Error handling, matching OpenCL plugin semantics.
 
 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)
 
std::vector< std::string > sycl::_V1::detail::split_string (const std::string &str, char delimeter)
 

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;