Class InferenceEngine::gpu::D3DContext¶
-
class D3DContext : public InferenceEngine::gpu::ClContext¶
This class represents an abstraction for GPU plugin remote context which is shared with Direct3D 11 device. The plugin object derived from this class can be obtained either with GetContext() method of Executable network or using CreateContext() Core call.
Note
User can also obtain OpenCL context handle from this class.
Public Types
-
using Ptr = std::shared_ptr<D3DContext>¶
A smart pointer to the D3DContext object.
Public Functions
-
inline operator ID3D11Device*()¶
ID3D11Device conversion operator for the D3DContext object.
- Returns
Pointer to underlying ID3D11Device interface
-
using Ptr = std::shared_ptr<D3DContext>¶