Class ov::intel_gpu::ocl::USMTensor#

class USMTensor : public ov::RemoteTensor#

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


User can obtain USM pointer from this class.

Public Functions

inline void *get()#

Returns the underlying USM pointer.


underlying USM pointer

Public Static Functions

static inline void type_check(const Tensor &tensor)#

Checks that type defined runtime parameters are presented in remote object.


tensor – a tensor to check