Skip to content

Commit

Permalink
fix: fix provider options
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitm3k committed Jan 13, 2025
1 parent 8546e8c commit 8808bd5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ void AdjustProviderInfo(ProviderInfo& info) {
LOGS_DEFAULT(INFO) << "[OpenVINO-EP]"
<< "No runtime device selection option provided.";
#if defined OPENVINO_CONFIG_CPU
device_type_ = "CPU";
precision_ = "FP32";
info.device_type = "CPU";
info.precision = "FP32";
#elif defined OPENVINO_CONFIG_GPU
device_type_ = "GPU";
precision_ = "FP16";
info.device_type = "GPU";
info.precision = "FP16";
#elif defined OPENVINO_CONFIG_NPU
info.device_type = "NPU";
info.precision = "FP16";
Expand Down

0 comments on commit 8808bd5

Please sign in to comment.