OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[GPU] more information on HOST_PROFILING (#35832)
Mingyu Kim921b356ab000
diff --git a/samples/cpp/benchmark_app/benchmark_app.hpp b/samples/cpp/benchmark_app/benchmark_app.hppindex e6f5d034a09..11fba1f36df 100644--- a/samples/cpp/benchmark_app/benchmark_app.hpp+++ b/samples/cpp/benchmark_app/benchmark_app.hpp@@ -109,7 +109,7 @@ static const char infer_num_streams_message[] ="Optional. Number of streams to use for inference on the CPU or GPU devices ""(for HETERO and MULTI device cases use format <dev1>:<nstreams1>,<dev2>:<nstreams2> or just ""<nstreams>). "- "Default value is determined automatically for a device.Please note that although the "+ "Default value is determined automatically for a device. Please note that although the ""automatic selection ""usually provides a reasonable performance, it still may be non - optimal for some cases, ""especially for "diff --git a/src/plugins/intel_gpu/src/plugin/graph.cpp b/src/plugins/intel_gpu/src/plugin/graph.cppindex 4bf0fa07077..a0def541c94 100644--- a/src/plugins/intel_gpu/src/plugin/graph.cpp+++ b/src/plugins/intel_gpu/src/plugin/graph.cpp@@ -137,12 +137,12 @@ Graph::~Graph() {auto print_entry = [this, &get_time_str, &log_level](std::string name, HostTimeProfilingEntry& entry, int64_t iters_num = 1) {if (log_level == 1) {- GPU_DEBUG_COUT << "[stream_id=" << m_stream_id << "] " << name << " infer enqueue host time: "+ GPU_DEBUG_COUT << "[network_id=" << m_network->get_id() << " stream_id=" << m_stream_id << " iter_num=" << iters_num << "] " << name << " infer enqueue host time: "<< get_time_str(entry.enqueue, iters_num) << std::endl;} else if (log_level >= 2) {auto total_time = entry.inputs_processing + entry.enqueue + entry.wait + entry.outputs_processing;- GPU_DEBUG_COUT << "[stream_id=" << m_stream_id << "] " << name << " infer host time: "+ GPU_DEBUG_COUT << "[network_id=" << m_network->get_id() << " stream_id=" << m_stream_id << " iter_num=" << iters_num << "] " << name << " infer host time: "<< get_time_str(total_time, iters_num) << std::endl;GPU_DEBUG_COUT << " - " << " Inputs processing: " << get_time_str(entry.inputs_processing, iters_num) << std::endl;GPU_DEBUG_COUT << " - " << " Enqueue: " << get_time_str(entry.enqueue, iters_num) << std::endl;