MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ml_options_dump

Function ml_options_dump

dpdk/app/test-mldev/ml_options.c:354–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354void
355ml_options_dump(struct ml_options *opt)
356{
357 struct rte_ml_dev_info dev_info;
358
359 rte_ml_dev_info_get(opt->dev_id, &dev_info);
360
361 ml_dump("driver", "%s", dev_info.driver_name);
362 ml_dump("test", "%s", opt->test_name);
363 ml_dump("dev_id", "%d", opt->dev_id);
364
365 if (opt->socket_id == SOCKET_ID_ANY)
366 ml_dump("socket_id", "%d (SOCKET_ID_ANY)", opt->socket_id);
367 else
368 ml_dump("socket_id", "%d", opt->socket_id);
369
370 ml_dump("debug", "%s", (opt->debug ? "true" : "false"));
371 ml_dump("quantized_io", "%s", (opt->quantized_io ? "true" : "false"));
372}

Callers 1

ml_test_opt_dumpFunction · 0.85

Calls 1

rte_ml_dev_info_getFunction · 0.85

Tested by 1

ml_test_opt_dumpFunction · 0.68