bug fixes for openvino implementation

This commit is contained in:
Arty Blue
2024-12-19 16:50:22 -08:00
parent 92fb9ffb02
commit 9a36218878
3 changed files with 8 additions and 6 deletions

View File

@@ -18,7 +18,7 @@
<settings> <settings>
<setting> <setting>
<name>ai_device_type</name> <name>ai_device_type</name>
<value>GPU</value><!--Options: CPU, GPU, GPU.0, GPU.1, NPU. Run "ProcyonCmd.exe list-openvino-devices" to list the options. Check "ProcyonCmd.exe -h" for the correct parameter syntax. --> <value></value><!--Options: CPU, GPU, GPU.0, GPU.1, NPU. Run "ProcyonCmd.exe list-openvino-devices" to list the options. Check "ProcyonCmd.exe -h" for the correct parameter syntax. -->
</setting> </setting>
<setting> <setting>
<name>ai_inference_precision</name> <name>ai_inference_precision</name>

View File

@@ -8,9 +8,11 @@ options:
type: select type: select
values: values:
- "AMD_CPU" - "AMD_CPU"
- "AMD_GPU" - "AMD_GPU0"
- "AMD_GPU1"
- "Intel_CPU" - "Intel_CPU"
- "Intel_GPU" - "Intel_GPU0"
- "Intel_GPU1"
- "Intel_NPU" - "Intel_NPU"
- "NVIDIA_GPU" - "NVIDIA_GPU"
- "Qualcomm_HTP" - "Qualcomm_HTP"

View File

@@ -62,14 +62,14 @@ BENCHMARK_CONFIG = {
"Intel_GPU0": { "Intel_GPU0": {
"config": f"\"{CONFIG_DIR}\\ai_computer_vision_openvino_gpu.def\"", "config": f"\"{CONFIG_DIR}\\ai_computer_vision_openvino_gpu.def\"",
"process_name": "OpenVino.exe", "process_name": "OpenVino.exe",
"device_id": "GPU.0", "device_id": "GPU.0" if "GPU.0" in list(OPENVINO_DEVICES.keys()) else "GPU",
"device_name": get_openvino_gpu(OPENVINO_DEVICES ,"GPU.0"), "device_name": get_openvino_gpu(OPENVINO_DEVICES ,"GPU.0"),
"test_name": "Intel OpenVINO GPU 0 (FLOAT32)" "test_name": "Intel OpenVINO GPU 0 (FLOAT32)"
}, },
"Intel_GPU1": { "Intel_GPU1": {
"config": f"\"{CONFIG_DIR}\\ai_computer_vision_openvino_gpu.def\"", "config": f"\"{CONFIG_DIR}\\ai_computer_vision_openvino_gpu.def\"",
"process_name": "OpenVino.exe", "process_name": "OpenVino.exe",
"device_id": "GPU.1", "device_id": "GPU.1" if "GPU.1" in list(OPENVINO_DEVICES.keys()) else "GPU",
"device_name": get_openvino_gpu(OPENVINO_DEVICES ,"GPU.0"), "device_name": get_openvino_gpu(OPENVINO_DEVICES ,"GPU.0"),
"test_name": "Intel OpenVINO GPU 1 (FLOAT32)" "test_name": "Intel OpenVINO GPU 1 (FLOAT32)"
}, },
@@ -77,7 +77,7 @@ BENCHMARK_CONFIG = {
"config": f"\"{CONFIG_DIR}\\ai_computer_vision_openvino_npu.def\"", "config": f"\"{CONFIG_DIR}\\ai_computer_vision_openvino_npu.def\"",
"process_name": "OpenVino.exe", "process_name": "OpenVino.exe",
"device_id": "NPU", "device_id": "NPU",
"device_name": OPENVINO_DEVICES["NPU"], "device_name": OPENVINO_DEVICES.get("NPU", "None"),
"test_name": "Intel OpenVINO NPU (FLOAT32)" "test_name": "Intel OpenVINO NPU (FLOAT32)"
}, },
"NVIDIA_GPU": { "NVIDIA_GPU": {