Class InferenceEngine::gpu::D3DBufferBlob

class D3DBufferBlob : public InferenceEngine::gpu::ClBufferBlob

This class represents an abstraction for GPU plugin remote blob which is shared with Direct3D 11 buffer. The plugin object derived from this class can be obtained with CreateBlob() call.

Note

User can also obtain OpenCL buffer handle from this class.

Public Types

using Ptr = std::shared_ptr<D3DBufferBlob>

A smart pointer to the D3DBufferBlob object.

Public Functions

inline explicit D3DBufferBlob(const TensorDesc &tensorDesc)

Creates a D3DBufferBlob object with the specified dimensions and layout.

Parameters

tensorDesc – Tensor description

inline operator ID3D11Buffer*()

ID3D11Buffer conversion operator for the D3DContext object.

Returns

Pointer to underlying ID3D11Buffer interface