Data Structures | Macros | 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 TargetDevice object to find a plugin for. More...
 
struct   InferenceEngine::FindPluginResponse
  Defines a message that contains a list of appropriate plugin names. More...
 

Macros

#define  DECL_DEVICE(device_type)   {TargetDevice::e##device_type, #device_type}
 

Enumerations

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

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
 

Detailed Description

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

Function Documentation

§ findPlugin()

FindPluginResponse InferenceEngine::findPlugin ( const FindPluginRequest req )

Finds an appropriate plugin for requested target device.

Parameters
req A requested target device
result The results of the request
resp The response message description
Returns
A response message

§ getDeviceName()

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

Returns the device name.

Parameters
device Instance of TargetDevice
Returns
A c-string with the name