latency mode is default for sync (#10521)

This commit is contained in:
Alexey Lebedev
2022-02-19 05:58:51 +03:00
committed by GitHub
parent 71fdcdf899
commit 661002689f

View File

@@ -88,9 +88,9 @@ def run(args):
logger.warning(f"No device {device} performance hint is set.")
args.perf_hint = ""
else:
args.perf_hint = "THROUGHPUT" if benchmark.api_type == "async" else "LATENCY"
logger.warning(f"PerformanceMode was not explicitly specified in command line. " +
f"Device {device} performance hint will be set to THROUGHPUT.")
args.perf_hint = "throughput"
f"Device {device} performance hint will be set to " + args.perf_hint + ".")
else:
logger.warning(f"Device {device} does not support performance hint property(-hint).")