Skip to content

Commit

Permalink
[GNA] Fix comments in GNA public header and speech sample (openvinoto…
Browse files Browse the repository at this point in the history
  • Loading branch information
dorloff authored Dec 6, 2021
1 parent 355fdee commit 371de1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions samples/cpp/speech_sample/speech_sample.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
/// @brief message for help argument
static const char help_message[] = "Print a usage message.";

/// @brief message for images argument
/// @brief message for input data argument
static const char input_message[] =
"Required. Paths to input files. Example of usage: <file1.ark,file2.ark> or <file.ark> or <file.npz>.";

/// @brief message for model argument
static const char model_message[] = "Required. Path to an .xml file with a trained model (required if -rg is missing).";

/// @brief message for assigning cnn calculation to device
/// @brief message for assigning calculation to device
static const char target_device_message[] =
"Optional. Specify a target device to infer on. CPU, GPU, MYRIAD, GNA_AUTO, GNA_HW, "
"GNA_HW_WITH_SW_FBACK, GNA_SW_FP32, "
Expand All @@ -36,7 +36,7 @@ static const char execution_target_message[] =
"or the latest fully supported generation by the software. "
"See the GNA Plugin's GNA_EXEC_TARGET config option description.";

/// @brief message for execution target
/// @brief message for compile target
static const char compile_target_message[] = "Optional. Specify GNA compile target generation. "
"May be one of GNA_TARGET_2_0, GNA_TARGET_3_0. "
"By default, generation corresponds to the GNA HW available in the system "
Expand Down
8 changes: 3 additions & 5 deletions src/inference/include/ie/gna/gna_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ DECLARE_GNA_CONFIG_KEY(FIRMWARE_MODEL_IMAGE);
DECLARE_GNA_CONFIG_KEY(FIRMWARE_MODEL_IMAGE_GENERATION);

/**
* @brief GNA proc_type setting that should be one of GNA_AUTO, GNA_HW, GNA_SW, GNA_SW_EXACT
* @brief GNA proc_type setting that should be one of GNA_AUTO, GNA_HW, GNA_HW_WITH_SW_FBACK, GNA_SW, GNA_SW_EXACT
*/
DECLARE_GNA_CONFIG_KEY(DEVICE_MODE);

Expand All @@ -83,10 +83,8 @@ DECLARE_GNA_CONFIG_VALUE(AVX2_EXACT);
* By default (in case of no value set) the behavior depends on GNA HW availability:
* If GNA HW is present, use the option corresponding to this HW.
* If HW is not present, use the option corresponding to the latest fully supported GNA HW generation.
* A fully supported GNA HW generation means it must be supported by booth the OV GNA Plugin and the core GNA Library.
* For the GNA Library 2.0.X.Y, the latest supported GNA HW generation corresponds to GNA_TARGET_2_0.
* For the GNA Library 2.1.X.Y, the latest supported GNA HW generation corresponds to GNA_TARGET_3_0.
* For the OV GNA Plugin 2021.4, the latest supported GNA HW generation corresponds to GNA_TARGET_3_0.
* A fully supported GNA HW generation means it must be supported by both the OV GNA Plugin and the core GNA Library.
* For the OV GNA Plugin 2022.1, the latest supported GNA HW generation corresponds to GNA_TARGET_3_0.
*/
DECLARE_GNA_CONFIG_KEY(EXEC_TARGET);

Expand Down

0 comments on commit 371de1e

Please sign in to comment.