12 inline namespace _V1 {
58 #define _PI_ERRC(NAME, VAL) \
61 #define _PI_ERRC_WITH_MSG(NAME, VAL, MSG) \
64 #include <sycl/detail/pi_error.def>
66 #undef _PI_ERRC_WITH_MSG
69 return "Unknown error code";
tls_code_loc_t()
Consructor that checks to see if a TLS entry already exists.
const detail::code_location & query()
Query the information in the TLS slot.
~tls_code_loc_t()
If the code location is set up by this instance, reset it.
const char * stringifyErrorCode(pi_int32 error)
static thread_local detail::code_location GCodeLocTLS
CodeLocation information slot in thread local storage.
constexpr const char * fileName() const noexcept
constexpr const char * functionName() const noexcept