mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 08:37:06 +08:00
[Backend] Support Intel GPU with OpenVINO (#472)
* Update ov_backend.cc * Update ov_backend.cc * support set openvino device
This commit is contained in:
@@ -269,6 +269,11 @@ class RuntimeOption:
|
||||
"""
|
||||
return self._option.set_paddle_mkldnn(use_mkldnn)
|
||||
|
||||
def set_openvino_device(self, name="CPU"):
|
||||
"""Set device name for OpenVINO, default 'CPU', can also be 'AUTO', 'GPU', 'GPU.1'....
|
||||
"""
|
||||
return self._option.set_openvino_device(name)
|
||||
|
||||
def enable_paddle_log_info(self):
|
||||
"""Enable print out the debug log information while using Paddle Inference backend, the log information is disabled by default.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user