Extended speech_sample to work on VPUX (#14508)
This commit is contained in:
parent
0121921068
commit
67bbc7361c
|
|
@ -23,10 +23,10 @@ static const char model_message[] = "Required. Path to an .xml file with a train
|
|||
|
||||
/// @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, "
|
||||
"Optional. Specify a target device to infer on. CPU, GPU, MYRIAD, VPUX, GNA_AUTO, GNA_HW, "
|
||||
"GNA_HW_WITH_SW_FBACK, GNA_SW_FP32, "
|
||||
"GNA_SW_EXACT and HETERO with combination of GNA as the primary device and CPU"
|
||||
" as a secondary (e.g. HETERO:GNA,CPU) are supported. "
|
||||
" as a secondary (e.g. HETERO:GNA,CPU) are supported."
|
||||
"The sample will look for a suitable plugin for device specified.";
|
||||
|
||||
/// @brief message for execution target
|
||||
|
|
@ -272,7 +272,8 @@ bool parse_and_check_command_line(int argc, char* argv[]) {
|
|||
"HETERO:GNA_HW,CPU",
|
||||
"HETERO:GNA_SW_EXACT,CPU",
|
||||
"HETERO:GNA_SW_FP32,CPU",
|
||||
"MYRIAD"};
|
||||
"MYRIAD",
|
||||
"VPUX"};
|
||||
|
||||
if (std::find(supportedDevices.begin(), supportedDevices.end(), FLAGS_d) == supportedDevices.end()) {
|
||||
throw std::logic_error("Specified device is not supported.");
|
||||
|
|
|
|||
Loading…
Reference in New Issue