Class InferenceEngine::gpu::USMBlob

class USMBlob : public InferenceEngine::gpu::ClBlob, public InferenceEngine::gpu::details::param_map_obj_getter

This class represents an abstraction for GPU plugin remote blob which can be shared with user-supplied USM pointer. The plugin object derived from this class can be obtained with CreateBlob() call.

Note

User can obtain USM pointer from this class.

Public Types

using Ptr = std::shared_ptr<USMBlob>

A smart pointer to the ClBufferBlob object.

Public Functions

inline explicit USMBlob(const TensorDesc &tensorDesc)

Creates a ClBufferBlob object with the specified dimensions and layout.

Parameters

tensorDesc – Tensor description

inline void *get()

Returns the underlying OpenCL memory object handle.

Returns

underlying OpenCL memory object handle