DPC++ Runtime
Runtime libraries for oneAPI DPC++
opencl.hpp File Reference
#include <sycl/backend.hpp>
#include <string>
Include dependency graph for opencl.hpp:

Go to the source code of this file.

Namespaces

 sycl
 ---— Error handling, matching OpenCL plugin semantics.
 
 sycl::_V1
 
 sycl::_V1::opencl
 

Functions

platform sycl::_V1::opencl::make_platform (pi_native_handle NativeHandle)
 
device sycl::_V1::opencl::make_device (pi_native_handle NativeHandle)
 
context sycl::_V1::opencl::make_context (pi_native_handle NativeHandle)
 
queue sycl::_V1::opencl::make_queue (const context &Context, pi_native_handle InteropHandle)
 
bool sycl::_V1::opencl::has_extension (const sycl::platform &SyclPlatform, const std::string &Extension)
 
bool sycl::_V1::opencl::has_extension (const sycl::device &SyclDevice, const std::string &Extension)
 
template<typename T , typename std::enable_if_t< std::is_same_v< T, platform >> * = nullptr>
T sycl::_V1::opencl::make (typename detail::interop< backend::opencl, T >::type Interop)
 
template<typename T , typename std::enable_if_t< std::is_same_v< T, queue >> * = nullptr>
T sycl::_V1::opencl::make (const context &Context, typename detail::interop< backend::opencl, T >::type Interop)