\brief Prints the help information for running this sample
| 385 | //! \brief Prints the help information for running this sample |
| 386 | //! |
| 387 | void 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 | |
| 399 | int32_t main(int32_t argc, char** argv) |
| 400 | { |