class InferenceEngine::gpu::VAContext¶
Overview¶
This class represents an abstraction for GPU plugin remote context which is shared with VA display object. The plugin object derived from this class can be obtained either with GetContext() method of Executable network or using CreateContext() Core call. More…
#include <gpu_context_api_va.hpp>
class VAContext: public InferenceEngine::gpu::ClContext
{
public:
// typedefs
typedef std::shared_ptr<VAContext> Ptr;
// methods
operator VADisplay ();
};
Inherited Members¶
public:
// typedefs
typedef std::shared_ptr<RemoteContext> Ptr;
typedef std::shared_ptr<const RemoteContext> CPtr;
typedef std::shared_ptr<ClContext> Ptr;
// methods
template <, , >
bool is();
template <, , >
bool is() const;
template <, , >
T \* as();
template <, , >
const T \* as() const;
virtual std::string getDeviceName() const = 0;
virtual RemoteBlob::Ptrconst TensorDesc&const ParamMap& CreateBlob(, ) = 0;
virtual MemoryBlob::Ptrconst TensorDesc& CreateHostBlob();
virtual ParamMap getParams() const = 0;
const std::shared_ptr<InferenceEngine::RemoteContext> GetHardwareContext();
const std::shared_ptr<const InferenceEngine::RemoteContext> GetHardwareContext() const;
cl_context get();
operator cl_context ();
operator cl::Context ();
Detailed Documentation¶
This class represents an abstraction for GPU plugin remote context which is shared with VA display object. The plugin object derived from this class can be obtained either with GetContext() method of Executable network or using CreateContext() Core call.
User can also obtain OpenCL context handle from this class.