You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the remote context of VASurfaceID, ov_remote_context_create_tensor() does not work.
I found the cause in src/bindings/c/src/ov_remote_context.cpp.
check_intel_gpu_property_value_is_ptr( ) classifies inputs into "char *" or "void *".
At line 28-29, the current classification is
ilya-lavrenov
changed the title
[Bug]: some non-string inputs of remote context are processed as string
[Bug] [C-API]: some non-string inputs of remote context are processed as string
Feb 4, 2025
OpenVINO Version
Master branch
Operating System
Ubuntu 20.04 (LTS)
Device used for inference
GPU
Framework
None
Model used
No response
Issue description
When I use the remote context of VASurfaceID, ov_remote_context_create_tensor() does not work.
I found the cause in src/bindings/c/src/ov_remote_context.cpp.
check_intel_gpu_property_value_is_ptr( ) classifies inputs into "char *" or "void *".
At line 28-29, the current classification is
: ov_property_key_intel_gpu_ocl_context
: ov_property_key_intel_gpu_ocl_queue
: ov_property_key_intel_gpu_va_device
: ov_property_key_intel_gpu_mem_handle
But it does not match the documentation.
https://docs.openvino.ai/2024/openvino-workflow/running-inference/inference-devices-and-modes/gpu-device/remote-tensor-api-gpu-plugin.html
(I confirmed that mis-classification by unintended working with casting VASurafceID and plane number into strings.)
ov_property_key_intel_gpu_dev_object_handle
ov_property_key_intel_gpu_va_plane
The 2 properties should be added to void * class.
(ov_property_key_intel_gpu_ocl_context_device_id is not shown in the documentation. Please check.)
Thanks.
Step-by-step reproduction
No response
Relevant log output
Issue submission checklist
The text was updated successfully, but these errors were encountered: