This class represents an Inference Engine abstraction for remote (non-CPU) accelerator device-specific execution context. Such context represents a scope on the device within which executable networks and remote memory blobs can exist, function and exchange data.
More...
#include <ie_remote_context.hpp>
|
virtual | ~RemoteContext ()=default |
| RemoteContext virtual destructor.
|
|
template<typename T , typename std::enable_if<!std::is_pointer< T >::value &&!std::is_reference< T >::value, int >::type = 0, typename std::enable_if< std::is_base_of< RemoteContext, T >::value, int >::type = 0> |
bool | is () noexcept |
| Checks if the RemoteContext object can be cast to the type T*. More...
|
|
template<typename T , typename std::enable_if<!std::is_pointer< T >::value &&!std::is_reference< T >::value, int >::type = 0, typename std::enable_if< std::is_base_of< RemoteContext, T >::value, int >::type = 0> |
bool | is () const noexcept |
| Checks if the RemoteContext object can be cast to the type const T*. More...
|
|
template<typename T , typename std::enable_if<!std::is_pointer< T >::value &&!std::is_reference< T >::value, int >::type = 0, typename std::enable_if< std::is_base_of< RemoteContext, T >::value, int >::type = 0> |
T * | as () noexcept |
| Casts this RemoteContext object to the type T*. More...
|
|
template<typename T , typename std::enable_if<!std::is_pointer< T >::value &&!std::is_reference< T >::value, int >::type = 0, typename std::enable_if< std::is_base_of< RemoteContext, T >::value, int >::type = 0> |
const T * | as () const noexcept |
| Casts this RemoteContext object to the type const T*. More...
|
|
virtual std::string | getDeviceName () const noexcept=0 |
| Returns name of the device on which underlying object is allocated. Abstract method. More...
|
|
virtual RemoteBlob::Ptr | CreateBlob (const TensorDesc &tensorDesc, const ParamMap ¶ms={})=0 |
| Allocates memory blob in device memory or wraps user-supplied memory handle using the specified tensor description and low-level device-specific parameters. Returns a pointer to the object which implements RemoteBlob interface. More...
|
|
virtual ParamMap | getParams () const =0 |
| Returns a map of device-specific parameters required for low-level operations with underlying object. Parameters include device/context handles, access flags, etc. Contents of the map returned depend on remote execution context that is currently set on the device (working scenario). Abstract method. More...
|
|