namespace InferenceEngine::GPUContextParams

Overview

namespace GPUContextParams {

// global variables

static constexpr auto PARAM_CONTEXT_TYPE = "CONTEXT_TYPE";
static constexpr auto OCL = "OCL";
static constexpr auto VA_SHARED = "VA_SHARED";
static constexpr auto PARAM_OCL_CONTEXT = "OCL_CONTEXT";
static constexpr auto PARAM_OCL_CONTEXT_DEVICE_ID = "OCL_CONTEXT_DEVICE_ID";
static constexpr auto PARAM_TILE_ID = "TILE_ID";
static constexpr auto PARAM_OCL_QUEUE = "OCL_QUEUE";
static constexpr auto PARAM_VA_DEVICE = "VA_DEVICE";
static constexpr auto PARAM_SHARED_MEM_TYPE = "SHARED_MEM_TYPE";
static constexpr auto OCL_BUFFER = "OCL_BUFFER";
static constexpr auto OCL_IMAGE2D = "OCL_IMAGE2D";
static constexpr auto USM_USER_BUFFER = "USM_USER_BUFFER";
static constexpr auto USM_HOST_BUFFER = "USM_HOST_BUFFER";
static constexpr auto USM_DEVICE_BUFFER = "USM_DEVICE_BUFFER";
static constexpr auto VA_SURFACE = "VA_SURFACE";
static constexpr auto DX_BUFFER = "DX_BUFFER";
static constexpr auto PARAM_MEM_HANDLE = "MEM_HANDLE";
static constexpr auto PARAM_DEV_OBJECT_HANDLE = "DEV_OBJECT_HANDLE";
static constexpr auto PARAM_VA_PLANE = "VA_PLANE";

} // namespace GPUContextParams

Detailed Documentation

Global Variables

static constexpr auto PARAM_CONTEXT_TYPE = "CONTEXT_TYPE"

Shared device context type: can be either pure OpenCL (OCL) or shared video decoder (VA_SHARED) context.

static constexpr auto OCL = "OCL"

Pure OpenCL device context.

static constexpr auto VA_SHARED = "VA_SHARED"

Shared context (video decoder or D3D)

static constexpr auto PARAM_OCL_CONTEXT = "OCL_CONTEXT"

This key identifies OpenCL context handle in a shared context or shared memory blob parameter map.

static constexpr auto PARAM_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 auto PARAM_TILE_ID = "TILE_ID"

In case of multi-tile system, this key identifies tile within given context.

static constexpr auto PARAM_OCL_QUEUE = "OCL_QUEUE"

This key identifies OpenCL queue handle in a shared context.

static constexpr auto PARAM_VA_DEVICE = "VA_DEVICE"

This key identifies video acceleration device/display handle in a shared context or shared memory blob parameter map.

static constexpr auto PARAM_SHARED_MEM_TYPE = "SHARED_MEM_TYPE"

This key identifies type of internal shared memory in a shared memory blob parameter map.

static constexpr auto OCL_BUFFER = "OCL_BUFFER"

Shared OpenCL buffer blob.

static constexpr auto OCL_IMAGE2D = "OCL_IMAGE2D"

Shared OpenCL 2D image blob.

static constexpr auto USM_USER_BUFFER = "USM_USER_BUFFER"

Shared USM pointer allocated by user.

static constexpr auto USM_HOST_BUFFER = "USM_HOST_BUFFER"

Shared USM pointer type with host allocation type allocated by plugin.

static constexpr auto USM_DEVICE_BUFFER = "USM_DEVICE_BUFFER"

Shared USM pointer type with device allocation type allocated by plugin.

static constexpr auto VA_SURFACE = "VA_SURFACE"

Shared video decoder surface or D3D 2D texture blob.

static constexpr auto DX_BUFFER = "DX_BUFFER"

Shared D3D buffer blob.

static constexpr auto PARAM_MEM_HANDLE = "MEM_HANDLE"

This key identifies OpenCL memory handle in a shared memory blob parameter map.

static constexpr auto PARAM_DEV_OBJECT_HANDLE = "DEV_OBJECT_HANDLE"

This key identifies video decoder surface handle in a shared memory blob parameter map.

static constexpr auto PARAM_VA_PLANE = "VA_PLANE"

This key identifies video decoder surface plane in a shared memory blob parameter map.