Skip to content

Commit f2e2da7

Browse files
authored
Merge pull request #104 from intel/device_modes
Added support to check if devices are Intel only
2 parents a4992a9 + a70b96d commit f2e2da7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gimpopenvino/tools/complete_install.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ def setup_python_weights(install_location=None):
3333
plugin_loc = os.path.dirname(gimpopenvino.__file__)
3434
ie = Core()
3535
supported_devices = ie.available_devices
36+
37+
for i in supported_devices:
38+
if "Intel" not in ie.get_property(i, "FULL_DEVICE_NAME"):
39+
supported_devices.remove(i)
40+
41+
3642
py_dict = {
3743
"python_path" : python_path,
3844
"weight_path" : weight_path,

0 commit comments

Comments
 (0)