DPC++ Runtime
Runtime libraries for oneAPI DPC++
level_zero.hpp File Reference
#include <sycl/backend.hpp>
#include <vector>
Include dependency graph for level_zero.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 sycl
 ---— Error handling, matching OpenCL plugin semantics.
 
 sycl::_V1
 
 sycl::_V1::ext
 
 sycl::_V1::ext::oneapi
 
 sycl::_V1::ext::oneapi::level_zero
 

Functions

platform sycl::_V1::ext::oneapi::level_zero::make_platform (pi_native_handle NativeHandle)
 
device sycl::_V1::ext::oneapi::level_zero::make_device (const platform &Platform, pi_native_handle NativeHandle)
 
context sycl::_V1::ext::oneapi::level_zero::make_context (const std::vector< device > &DeviceList, pi_native_handle NativeHandle, bool keep_ownership=false)
 
queue sycl::_V1::ext::oneapi::level_zero::make_queue (const context &Context, pi_native_handle InteropHandle, bool keep_ownership=false)
 
queue sycl::_V1::ext::oneapi::level_zero::make_queue (const context &Context, const device &Device, pi_native_handle InteropHandle, bool keep_ownership=false)
 
event sycl::_V1::ext::oneapi::level_zero::make_event (const context &Context, pi_native_handle InteropHandle, bool keep_ownership=false)
 
template<typename T , typename std::enable_if_t< std::is_same< T, platform >::value > * = nullptr>
sycl::_V1::ext::oneapi::level_zero::make (typename sycl::detail::interop< backend::ext_oneapi_level_zero, T >::type Interop)
 
template<typename T , typename std::enable_if_t< std::is_same< T, device >::value > * = nullptr>
sycl::_V1::ext::oneapi::level_zero::make (const platform &Platform, typename sycl::detail::interop< backend::ext_oneapi_level_zero, T >::type Interop)
 
template<typename T , typename std::enable_if< std::is_same< T, context >::value >::type * = nullptr>
sycl::_V1::ext::oneapi::level_zero::make (const std::vector< device > &DeviceList, typename sycl::detail::interop< backend::ext_oneapi_level_zero, T >::type Interop, ownership Ownership=ownership::transfer)
 Construction of SYCL context. More...
 
template<typename T , typename std::enable_if_t< std::is_same< T, queue >::value > * = nullptr>
sycl::_V1::ext::oneapi::level_zero::make (const context &Context, typename sycl::detail::interop< backend::ext_oneapi_level_zero, T >::type Interop, ownership Ownership=ownership::transfer)
 
template<>
context sycl::_V1::make_context< backend::ext_oneapi_level_zero > (const backend_input_t< backend::ext_oneapi_level_zero, context > &BackendObject, const async_handler &Handler)
 
template<>
queue sycl::_V1::make_queue< backend::ext_oneapi_level_zero > (const backend_input_t< backend::ext_oneapi_level_zero, queue > &BackendObject, const context &TargetContext, const async_handler Handler)
 
template<>
event sycl::_V1::make_event< backend::ext_oneapi_level_zero > (const backend_input_t< backend::ext_oneapi_level_zero, event > &BackendObject, const context &TargetContext)
 
template<>
kernel_bundle< bundle_state::executable > sycl::_V1::make_kernel_bundle< backend::ext_oneapi_level_zero, bundle_state::executable > (const backend_input_t< backend::ext_oneapi_level_zero, kernel_bundle< bundle_state::executable >> &BackendObject, const context &TargetContext)
 
template<>
kernel sycl::_V1::make_kernel< backend::ext_oneapi_level_zero > (const backend_input_t< backend::ext_oneapi_level_zero, kernel > &BackendObject, const context &TargetContext)
 
template<backend Backend, typename T , int Dimensions = 1, typename AllocatorT = buffer_allocator<std::remove_const_t<T>>>
std::enable_if< Backend==backend::ext_oneapi_level_zero, buffer< T, Dimensions, AllocatorT > >::type sycl::_V1::make_buffer (const backend_input_t< backend::ext_oneapi_level_zero, buffer< T, Dimensions, AllocatorT >> &BackendObject, const context &TargetContext, event AvailableEvent)
 
template<backend Backend, typename T , int Dimensions = 1, typename AllocatorT = buffer_allocator<std::remove_const_t<T>>>
std::enable_if< Backend==backend::ext_oneapi_level_zero, buffer< T, Dimensions, AllocatorT > >::type sycl::_V1::make_buffer (const backend_input_t< backend::ext_oneapi_level_zero, buffer< T, Dimensions, AllocatorT >> &BackendObject, const context &TargetContext)
 
namespace sycl::_V1::__SYCL2020_DEPRECATED ("use 'ext::oneapi::level_zero' instead") level_zero