publish master branch snapshot, revision 8d31237e2c3f673cbb0f0ba110fc10f5cce1d2bb

This commit is contained in:
Alexey Suhov
2020-05-22 02:23:12 +03:00
parent eab7ef4895
commit deb008a26f
423 changed files with 11071 additions and 5560 deletions

View File

@@ -13,6 +13,7 @@
#include <inference_engine.hpp>
#include <vpu/vpu_plugin_config.hpp>
#include <cldnn/cldnn_config.hpp>
#include <gna/gna_config.hpp>
#include <samples/common.hpp>
#include <samples/slog.hpp>
#include <samples/args_helper.hpp>
@@ -274,6 +275,14 @@ int main(int argc, char *argv[]) {
}
} else if (device == "MYRIAD") {
device_config[CONFIG_KEY(LOG_LEVEL)] = CONFIG_VALUE(LOG_WARNING);
} else if (device == "GNA") {
if (FLAGS_qb == 8)
device_config[GNA_CONFIG_KEY(PRECISION)] = "I8";
else
device_config[GNA_CONFIG_KEY(PRECISION)] = "I16";
if (isFlagSetInCommandLine("nthreads"))
device_config[GNA_CONFIG_KEY(LIB_N_THREADS)] = std::to_string(FLAGS_nthreads);
}
}