[GNA] Fix and extend removed logging capabilities (#11880)
* [GNA] Fix and extend warning and debug log levels using speech_sample * [GNA] Cleanup and apply const correctness * Apply review
This commit is contained in:
committed by
GitHub
parent
dc6e5c51ee
commit
d25b8466f6
@@ -245,6 +245,7 @@ int main(int argc, char* argv[]) {
|
||||
gnaPluginConfig[ov::intel_gna::compile_target.name()] = parse_target(FLAGS_compile_target);
|
||||
gnaPluginConfig[ov::intel_gna::memory_reuse.name()] = !FLAGS_memory_reuse_off;
|
||||
gnaPluginConfig[ov::intel_gna::pwl_max_error_percent.name()] = FLAGS_pwl_me;
|
||||
gnaPluginConfig[ov::log::level.name()] = FLAGS_log;
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// --------------------------- Write model to file --------------------------------------------------
|
||||
// Embedded GNA model dumping (for Intel(R) Speech Enabling Developer Kit)
|
||||
@@ -299,6 +300,9 @@ int main(int argc, char* argv[]) {
|
||||
}
|
||||
if (!FLAGS_we.empty()) {
|
||||
slog::info << "Exported GNA embedded model to file " << FLAGS_we << slog::endl;
|
||||
if (!FLAGS_compile_target.empty()) {
|
||||
slog::info << "GNA embedded model target: " << FLAGS_compile_target << slog::endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
// ---------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user