MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / printHelpInfo

Function printHelpInfo

samples/sampleNamedDimensions/sampleNamedDimensions.cpp:387–397  ·  view source on GitHub ↗

\brief Prints the help information for running this sample

Source from the content-addressed store, hash-verified

385//! \brief Prints the help information for running this sample
386//!
387void printHelpInfo()
388{
389 std::cout
390 << "Usage: ./sample_named_dimensions [-h or --help] [-d or --datadir=<path to data directory>]"
391 << std::endl;
392 std::cout << "--help Display help information" << std::endl;
393 std::cout << "--datadir Specify path to a data directory, overriding the default. This option can be used "
394 "multiple times to add multiple directories. If no data directories are given, the default is to use "
395 "(trt/samples/sampleNamedDimensions)"
396 << std::endl;
397}
398
399int32_t main(int32_t argc, char** argv)
400{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected