DPC++ Runtime
Runtime libraries for oneAPI DPC++
level_zero.hpp File Reference
#include <CL/sycl/backend.hpp>
#include <CL/sycl/program.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

 cl
 We provide new interfaces for matrix muliply in this patch:
 
 cl::sycl
 
 cl::sycl::ext
 
 cl::sycl::ext::oneapi
 
 cl::sycl::ext::oneapi::level_zero
 

Functions

platform cl::sycl::ext::oneapi::level_zero::make_platform (pi_native_handle NativeHandle)
 
device cl::sycl::ext::oneapi::level_zero::make_device (const platform &Platform, pi_native_handle NativeHandle)
 
context cl::sycl::ext::oneapi::level_zero::make_context (const std::vector< device > &DeviceList, pi_native_handle NativeHandle, bool keep_ownership=false)
 
queue cl::sycl::ext::oneapi::level_zero::make_queue (const context &Context, pi_native_handle InteropHandle, bool keep_ownership=false)
 
queue cl::sycl::ext::oneapi::level_zero::make_queue (const context &Context, const device &Device, pi_native_handle InteropHandle, bool keep_ownership=false)
 
event cl::sycl::ext::oneapi::level_zero::make_event (const context &Context, pi_native_handle InteropHandle, bool keep_ownership=false)
 
template<typename T , typename sycl::detail::enable_if_t< std::is_same< T, platform >::value > * = nullptr>
T cl::sycl::ext::oneapi::level_zero::make (typename sycl::detail::interop< backend::ext_oneapi_level_zero, T >::type Interop)
 
template<typename T , typename sycl::detail::enable_if_t< std::is_same< T, device >::value > * = nullptr>
T cl::sycl::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>
T cl::sycl::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 sycl::detail::enable_if_t< std::is_same< T, queue >::value > * = nullptr>
T cl::sycl::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 cl::sycl::make_context< backend::ext_oneapi_level_zero > (const backend_input_t< backend::ext_oneapi_level_zero, context > &BackendObject, const async_handler &Handler)
 
template<>
queue cl::sycl::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 cl::sycl::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 > cl::sycl::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 cl::sycl::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 = detail::default_buffer_allocator<T>>
std::enable_if< Backend==backend::ext_oneapi_level_zero, buffer< T, Dimensions, AllocatorT > >::type cl::sycl::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 = detail::default_buffer_allocator<T>>
std::enable_if< Backend==backend::ext_oneapi_level_zero, buffer< T, Dimensions, AllocatorT > >::type cl::sycl::make_buffer (const backend_input_t< backend::ext_oneapi_level_zero, buffer< T, Dimensions, AllocatorT >> &BackendObject, const context &TargetContext)
 
template<>
auto cl::sycl::get_native< backend::ext_oneapi_level_zero > (const kernel_bundle< bundle_state::executable > &Obj) -> backend_return_t< backend::ext_oneapi_level_zero, kernel_bundle< bundle_state::executable >>
 
namespace cl::sycl::__SYCL2020_DEPRECATED ("use 'ext::oneapi::level_zero' instead") level_zero