Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6492 Discussions

Failed to call Remote Tensor API of GPU Plugin

WilsonChen0723
Beginner
1,267 Views

Hi,

 

I was trying to use Remote Tensor API of GPU Plugin to share OpenCL memory to Remote tensor with openvino 2023.1.0.

But always got :

ov_infer_request_infer() return : -1

 

It works while not using OpenCL memory.

Also, copy between OpenCL memory also works.

But it failed at sharing OpenCL memory to Remote Tensor.

 

I have attached all the model, sample code, build script.

You may check Readme.txt for details.

 

Thank you.

0 Kudos
1 Solution
Aznie_Intel
Moderator
969 Views

Hi WilsonChen0723,

 

Thanks for your patience.

We got an update from the engineering team and were able to obtain the expected result. Your application should create remote context before the model is compiled as OpenVINO User Guide explains. We have modified your application to a proper process and obtained a successful result.

 

You may refer to the attached code.

 

Regards,

Aznie

 

View solution in original post

0 Kudos
5 Replies
Aznie_Intel
Moderator
1,234 Views

Hi WilsonChen0723,

 

Thanks for reaching out.

I've validated this from my end with the latest OpenVINO version 2023.2. Therefore, I will escalate this to the engineering team and will get back to you with the information.

 

 

Regards,

Aznie


0 Kudos
WilsonChen0723
Beginner
1,157 Views

Hi Aznie,

 

Thanks.

Is there any update?

 

Regards,

Wilson

0 Kudos
Aznie_Intel
Moderator
970 Views

Hi WilsonChen0723,

 

Thanks for your patience.

We got an update from the engineering team and were able to obtain the expected result. Your application should create remote context before the model is compiled as OpenVINO User Guide explains. We have modified your application to a proper process and obtained a successful result.

 

You may refer to the attached code.

 

Regards,

Aznie

 

0 Kudos
Aznie_Intel
Moderator
912 Views

Hi WilsonChen0723,


This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question. 



Regards,

Aznie


0 Kudos
WilsonChen0723
Beginner
898 Views

Hi Aznie,

 

Yes, I've confirmed it solved my problem and I've marked it as solved!!

Thank you for your support!~

 

Regards,

Wilson

0 Kudos
Reply