Intel GPU OpenCL interoperability¶
Overview¶
Set of C++ classes and properties to work with Remote API for Intel GPU OpenCL plugin. More…
// typedefs
typedef void \* ov::intel_gpu::ocl::gpu_handle_param;
// enums
enum ov::intel_gpu::ContextType;
enum ov::intel_gpu::SharedMemType;
// classes
class ov::intel_gpu::ocl::ClBufferTensor;
class ov::intel_gpu::ocl::ClContext;
class ov::intel_gpu::ocl::ClImage2DTensor;
class ov::intel_gpu::ocl::D3DBufferTensor;
class ov::intel_gpu::ocl::D3DContext;
class ov::intel_gpu::ocl::D3DSurface2DTensor;
class ov::intel_gpu::ocl::USMTensor;
class ov::intel_gpu::ocl::VAContext;
class ov::intel_gpu::ocl::VASurfaceTensor;
// global variables
static constexpr Property<ContextType> ov::intel_gpu::context_type {"CONTEXT_TYPE"};
static constexpr Property<gpu_handle_param> ov::intel_gpu::ocl_context {"OCL_CONTEXT"};
static constexpr Property<int> ov::intel_gpu::ocl_context_device_id {"OCL_CONTEXT_DEVICE_ID"};
static constexpr Property<int> ov::intel_gpu::tile_id {"TILE_ID"};
static constexpr Property<gpu_handle_param> ov::intel_gpu::ocl_queue {"OCL_QUEUE"};
static constexpr Property<gpu_handle_param> ov::intel_gpu::va_device {"VA_DEVICE"};
static constexpr Property<SharedMemType> ov::intel_gpu::shared_mem_type {"SHARED_MEM_TYPE"};
static constexpr Property<gpu_handle_param> ov::intel_gpu::mem_handle {"MEM_HANDLE"};
static constexpr Property<gpu_handle_param> ov::intel_gpu::dev_object_handle {"DEV_OBJECT_HANDLE"};
static constexpr Property<uint32_t> ov::intel_gpu::va_plane {"VA_PLANE"};
Detailed Documentation¶
Set of C++ classes and properties to work with Remote API for Intel GPU OpenCL plugin.
Typedefs¶
typedef void \* ov::intel_gpu::ocl::gpu_handle_param
Shortcut for defining a handle parameter.
Global Variables¶
static constexpr Property<ContextType> ov::intel_gpu::context_type {"CONTEXT_TYPE"}
Shared device context type: can be either pure OpenCL (OCL) or shared video decoder (VA_SHARED) context.
static constexpr Property<gpu_handle_param> ov::intel_gpu::ocl_context {"OCL_CONTEXT"}
This key identifies OpenCL context handle in a shared context or shared memory blob parameter map.
static constexpr Property<int> ov::intel_gpu::ocl_context_device_id {"OCL_CONTEXT_DEVICE_ID"}
This key identifies ID of device in OpenCL context if multiple devices are present in the context.
static constexpr Property<int> ov::intel_gpu::tile_id {"TILE_ID"}
In case of multi-tile system, this key identifies tile within given context.
static constexpr Property<gpu_handle_param> ov::intel_gpu::ocl_queue {"OCL_QUEUE"}
This key identifies OpenCL queue handle in a shared context.
static constexpr Property<gpu_handle_param> ov::intel_gpu::va_device {"VA_DEVICE"}
This key identifies video acceleration device/display handle in a shared context or shared memory blob parameter map.
static constexpr Property<SharedMemType> ov::intel_gpu::shared_mem_type {"SHARED_MEM_TYPE"}
This key identifies type of internal shared memory in a shared memory blob parameter map.
static constexpr Property<gpu_handle_param> ov::intel_gpu::mem_handle {"MEM_HANDLE"}
This key identifies OpenCL memory handle in a shared memory blob parameter map.
static constexpr Property<gpu_handle_param> ov::intel_gpu::dev_object_handle {"DEV_OBJECT_HANDLE"}
This key identifies video decoder surface handle in a shared memory blob parameter map.
static constexpr Property<uint32_t> ov::intel_gpu::va_plane {"VA_PLANE"}
This key identifies video decoder surface plane in a shared memory blob parameter map.