DPC++ Runtime
Runtime libraries for oneAPI DPC++
level_zero.hpp File Reference
#include <sycl/async_handler.hpp>
#include <sycl/backend.hpp>
#include <sycl/backend_types.hpp>
#include <sycl/buffer.hpp>
#include <sycl/context.hpp>
#include <sycl/detail/backend_traits.hpp>
#include <sycl/detail/backend_traits_level_zero.hpp>
#include <sycl/detail/defines_elementary.hpp>
#include <sycl/detail/export.hpp>
#include <sycl/detail/impl_utils.hpp>
#include <sycl/detail/pi.h>
#include <sycl/detail/pi.hpp>
#include <sycl/device.hpp>
#include <sycl/event.hpp>
#include <sycl/ext/codeplay/experimental/fusion_properties.hpp>
#include <sycl/ext/oneapi/backend/level_zero_ownership.hpp>
#include <sycl/image.hpp>
#include <sycl/kernel.hpp>
#include <sycl/kernel_bundle.hpp>
#include <sycl/kernel_bundle_enums.hpp>
#include <sycl/platform.hpp>
#include <sycl/properties/image_properties.hpp>
#include <sycl/property_list.hpp>
#include <sycl/queue.hpp>
#include <memory>
#include <stdint.h>
#include <type_traits>
#include <variant>
#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
 
 sycl::_V1
 
 sycl::_V1::ext
 
 sycl::_V1::ext::oneapi
 
 sycl::_V1::ext::oneapi::level_zero
 
 sycl::_V1::detail
 

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, const device &Device, pi_native_handle InteropHandle, bool IsImmCmdList, bool keep_ownership, const property_list &Properties)
 
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_v< T, platform >> * = 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_v< T, device >> * = 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 , std::enable_if_t< std::is_same_v< T, context >> * = 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_v< T, event >> * = 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)
 
std::optional< sycl::devicesycl::_V1::detail::find_matching_descendent_device (sycl::device d, const backend_input_t< backend::ext_oneapi_level_zero, device > &BackendObject)
 
template<>
device sycl::_V1::make_device< backend::ext_oneapi_level_zero > (const backend_input_t< backend::ext_oneapi_level_zero, device > &BackendObject)
 
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<>
auto sycl::_V1::get_native< backend::ext_oneapi_level_zero, queue > (const queue &Obj) -> backend_return_t< backend::ext_oneapi_level_zero, queue >
 
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_t< Backend==backend::ext_oneapi_level_zero, buffer< T, Dimensions, AllocatorT > > 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_t< Backend==backend::ext_oneapi_level_zero, buffer< T, Dimensions, AllocatorT > > sycl::_V1::make_buffer (const backend_input_t< backend::ext_oneapi_level_zero, buffer< T, Dimensions, AllocatorT >> &BackendObject, const context &TargetContext)
 
template<backend Backend, int Dimensions = 1, typename AllocatorT = image_allocator>
std::enable_if_t< Backend==backend::ext_oneapi_level_zero, image< Dimensions, AllocatorT > > sycl::_V1::make_image (const backend_input_t< Backend, image< Dimensions, AllocatorT >> &BackendObject, const context &TargetContext, event AvailableEvent)
 
namespace sycl::_V1::__SYCL2020_DEPRECATED ("use 'ext::oneapi::level_zero' instead") level_zero