Namespaces | Macros | Typedefs | Variables
gpu_params.hpp File Reference

a header for properties of shared device contexts and shared device memory blobs for clDNN plugin More...

#include <string>

Go to the source code of this file.

Namespaces

 InferenceEngine
 Inference Engine C++ API.
 

Macros

#define GPU_PARAM_KEY(name)   GPUContextParams::PARAM_##name
 Shortcut for defining configuration keys.
 
#define GPU_PARAM_VALUE(name)   GPUContextParams::name
 Shortcut for defining configuration values.
 
#define DECLARE_GPU_PARAM_VALUE(name)   static constexpr auto name = #name
 Shortcut for defining possible values for object parameter keys.
 
#define DECLARE_GPU_PARAM_KEY(name, ...)    static constexpr auto PARAM_##name = #name
 Shortcut for defining object parameter keys.
 

Typedefs

using InferenceEngine::gpu_handle_param = void *
 Shortcut for defining a handle parameter.
 

Variables

static constexpr auto InferenceEngine::GPUContextParams::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 InferenceEngine::GPUContextParams::OCL = "OCL"
 Pure OpenCL device context.
 
static constexpr auto InferenceEngine::GPUContextParams::VA_SHARED = "VA_SHARED"
 Shared context (video decoder or D3D)
 
static constexpr auto InferenceEngine::GPUContextParams::PARAM_OCL_CONTEXT = "OCL_CONTEXT"
 This key identifies OpenCL context handle in a shared context or shared memory blob parameter map.
 
static constexpr auto InferenceEngine::GPUContextParams::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 InferenceEngine::GPUContextParams::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 InferenceEngine::GPUContextParams::OCL_BUFFER = "OCL_BUFFER"
 Shared OpenCL buffer blob.
 
static constexpr auto InferenceEngine::GPUContextParams::OCL_IMAGE2D = "OCL_IMAGE2D"
 Shared OpenCL 2D image blob.
 
static constexpr auto InferenceEngine::GPUContextParams::VA_SURFACE = "VA_SURFACE"
 Shared video decoder surface or D3D 2D texture blob.
 
static constexpr auto InferenceEngine::GPUContextParams::DX_BUFFER = "DX_BUFFER"
 Shared D3D buffer blob.
 
static constexpr auto InferenceEngine::GPUContextParams::PARAM_MEM_HANDLE = "MEM_HANDLE"
 This key identifies OpenCL memory handle in a shared memory blob parameter map.
 
static constexpr auto InferenceEngine::GPUContextParams::PARAM_DEV_OBJECT_HANDLE = "DEV_OBJECT_HANDLE"
 This key identifies video decoder surface handle in a shared memory blob parameter map.
 
static constexpr auto InferenceEngine::GPUContextParams::PARAM_VA_PLANE = "VA_PLANE"
 This key identifies video decoder surface plane in a shared memory blob parameter map.
 

Detailed Description

a header for properties of shared device contexts and shared device memory blobs for clDNN plugin