DPC++ Runtime
Runtime libraries for oneAPI DPC++
plugin.hpp File Reference
#include <detail/config.hpp>
#include <memory>
#include <mutex>
#include <sycl/backend_types.hpp>
#include <sycl/detail/common.hpp>
#include <sycl/detail/type_traits.hpp>
#include <sycl/detail/ur.hpp>
#include <ur_api.h>
#include <sycl/detail/iostream_proxy.hpp>
Include dependency graph for plugin.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::plugin
 The plugin class provides a unified interface to the underlying low-level runtimes for the device-agnostic SYCL runtime. More...
 

Namespaces

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

Macros

#define __SYCL_REPORT_UR_ERR_TO_STREAM(expr)
 
#define __SYCL_CHECK_OCL_CODE_NO_EXC(X)   __SYCL_REPORT_UR_ERR_TO_STREAM(X)
 

Macro Definition Documentation

◆ __SYCL_CHECK_OCL_CODE_NO_EXC

#define __SYCL_CHECK_OCL_CODE_NO_EXC (   X)    __SYCL_REPORT_UR_ERR_TO_STREAM(X)

Definition at line 36 of file plugin.hpp.

◆ __SYCL_REPORT_UR_ERR_TO_STREAM

#define __SYCL_REPORT_UR_ERR_TO_STREAM (   expr)
Value:
{ \
auto code = expr; \
if (code != UR_RESULT_SUCCESS) { \
<< std::endl; \
} \
}
#define __SYCL_UR_ERROR_REPORT
Definition: common.hpp:164
__SYCL_EXTERN_STREAM_ATTRS ostream cerr
Linked to standard error (unbuffered)
std::string codeToString(int32_t code)
Definition: exception.hpp:57

Definition at line 27 of file plugin.hpp.