From a20b3631fb5d253bde84d82087cb11b3dee78c59 Mon Sep 17 00:00:00 2001 From: Jade Cho Date: Thu, 23 Mar 2023 13:55:55 +0900 Subject: [PATCH] Support float64 data type as input of benchmark_app (#16435) --- samples/cpp/benchmark_app/remote_tensors_filling.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/samples/cpp/benchmark_app/remote_tensors_filling.cpp b/samples/cpp/benchmark_app/remote_tensors_filling.cpp index fa139d7485f..9301a8d1132 100644 --- a/samples/cpp/benchmark_app/remote_tensors_filling.cpp +++ b/samples/cpp/benchmark_app/remote_tensors_filling.cpp @@ -40,8 +40,10 @@ void fill_buffer_random(void* inputBuffer, void fill_buffer(void* inputBuffer, size_t elementsNum, const ov::element::Type& type) { if (type == ov::element::f32) { fill_buffer_random(inputBuffer, elementsNum); + } else if (type == ov::element::f64) { + fill_buffer_random(inputBuffer, elementsNum); } else if (type == ov::element::f16) { - fill_buffer_random(inputBuffer, elementsNum); + fill_buffer_random(inputBuffer, elementsNum); } else if (type == ov::element::i32) { fill_buffer_random(inputBuffer, elementsNum); } else if (type == ov::element::i64) {