DPC++ Runtime
Runtime libraries for oneAPI DPC++
opencl.hpp File Reference
#include <sycl/backend_types.hpp>
#include <sycl/context.hpp>
#include <sycl/detail/backend_traits.hpp>
#include <sycl/detail/defines_elementary.hpp>
#include <sycl/detail/export.hpp>
#include <sycl/detail/pi.h>
#include <sycl/device.hpp>
#include <sycl/platform.hpp>
#include <sycl/queue.hpp>
#include <string>
#include <type_traits>
Include dependency graph for opencl.hpp:

Go to the source code of this file.

Namespaces

 sycl
 
 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>
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>
sycl::_V1::opencl::make (const context &Context, typename detail::interop< backend::opencl, T >::type Interop)