Data Structures | Enumerations | Functions
ie_device.hpp File Reference

This header file contains aspects of working on different devices like CPU, GEN, FPGA, etc. More...

#include <string>
#include <vector>
#include <map>
#include <ie_api.h>
#include <ie_common.h>

Go to the source code of this file.

Data Structures

class   InferenceEngine::TargetDeviceInfo
  Describes the relationship between the enumerator type and the actual device's name. More...
 
struct   InferenceEngine::FindPluginRequest
  Defines a message that contains the InferenceEngine::TargetDevice object to find a plugin for. More...
 
struct   InferenceEngine::FindPluginResponse
  Defines a message that contains a list of appropriate plugin names. More...
 

Enumerations

enum   InferenceEngine::TargetDevice : uint8_t {
  eDefault = 0, eBalanced = 1, eCPU = 2, eGPU = 3,
  eFPGA = 4, eMYRIAD = 5, eHDDL = 6, eGNA = 7,
  eHETERO = 8, eMULTI = 10
}
  Describes known device types. More...
 

Functions

const char *  InferenceEngine::getDeviceName (TargetDevice device)
  Returns the device name. More...
 
FindPluginResponse  InferenceEngine::findPlugin (const FindPluginRequest &req)
  Finds an appropriate plugin for requested target device. More...
 
StatusCode  InferenceEngine::findPlugin (const FindPluginRequest &req, FindPluginResponse &result, ResponseDesc *resp) noexcept
  Finds an appropriate plugin for requested target device. More...
 

Detailed Description

This header file contains aspects of working on different devices like CPU, GEN, FPGA, etc.

Enumeration Type Documentation

§ TargetDevice

enum InferenceEngine::TargetDevice : uint8_t
strong

Describes known device types.

Deprecated:
Deprecated since the enum is not scalable for 3rd party plugins / devices. All devices are managed by InferenceEngine::Core

Function Documentation

§ findPlugin() [1/2]

FindPluginResponse InferenceEngine::findPlugin ( const FindPluginRequest req )

Finds an appropriate plugin for requested target device.

Deprecated:
Deprecated since InferenceEngine::TargetDevice is deprecated
Parameters
req A requested target device
Returns
A response object

§ findPlugin() [2/2]

StatusCode InferenceEngine::findPlugin ( const FindPluginRequest req,
FindPluginResponse result,
ResponseDesc resp 
)
noexcept

Finds an appropriate plugin for requested target device.

Deprecated:
Deprecated since InferenceEngine::TargetDevice is deprecated
Parameters
req A requested target device
result The results of the request
resp The response message description
Returns
A status code

§ getDeviceName()

const char* InferenceEngine::getDeviceName ( TargetDevice  device )
inline

Returns the device name.

Deprecated:
Deprecated since InferenceEngine::TargetDevice is deprecated
Parameters
device Instance of InferenceEngine::TargetDevice
Returns
A c-string with the name