Class InferenceEngine::gpu::ClBlob

class ClBlob : public InferenceEngine::RemoteBlob

The basic class for all GPU plugin remote blob objects. The OpenCL memory object handle (cl_mem) can be obtained from this class object.

Subclassed by InferenceEngine::gpu::ClBufferBlob, InferenceEngine::gpu::ClImage2DBlob, InferenceEngine::gpu::USMBlob

Public Types

using Ptr = std::shared_ptr<ClBlob>

A smart pointer to the ClBlob object.

Public Functions

inline explicit ClBlob(const TensorDesc &tensorDesc)

Creates a ClBlob object with the specified dimensions and layout.

Parameters

tensorDesc – Tensor description