Commit 20919ff7 authored by Umang Yadav's avatar Umang Yadav
Browse files

rename --rms_tol to --rms-tol

parent c7d60560
...@@ -50,7 +50,7 @@ Runs reference and CPU or GPU implementations and checks outputs for consistency ...@@ -50,7 +50,7 @@ Runs reference and CPU or GPU implementations and checks outputs for consistency
.. include:: ./driver/compile.rst .. include:: ./driver/compile.rst
.. option:: --rms_tol [double] .. option:: --rms-tol [double]
Tolerance for RMS error (Default: 0.001) Tolerance for RMS error (Default: 0.001)
......
...@@ -55,9 +55,9 @@ See below for a comprehensive list of commands and option arguments, as well as ...@@ -55,9 +55,9 @@ See below for a comprehensive list of commands and option arguments, as well as
| --exhaustive-tune | Enable exhaustive search to find fastest kernel | | --exhaustive-tune | Enable exhaustive search to find fastest kernel |
| --fp16 | Quantize for fp16 | | --fp16 | Quantize for fp16 |
| --int8 | Quantize for int8 | | --int8 | Quantize for int8 |
| --rms_tol | Tolerance for the RMS error | | --rms-tol | Tolerance for the RMS error (Default: 0.001) |
| --atol | Tolerance for elementwise absolute error | | --atol | Tolerance for elementwise absolute error (Default: 0.001) |
| --rtol | Tolerance for elementwise relative error | | --rtol | Tolerance for elementwise relative error (Default: 0.001) |
| --per-instruction \| -i | Verify each instruction | | --per-instruction \| -i | Verify each instruction |
| --reduce \| -r | Reduce program and verify | | --reduce \| -r | Reduce program and verify |
| --iterations \| -n | Number of iterations to run for perf report | | --iterations \| -n | Number of iterations to run for perf report |
......
...@@ -542,9 +542,13 @@ struct verify : command<verify> ...@@ -542,9 +542,13 @@ struct verify : command<verify>
void parse(argument_parser& ap) void parse(argument_parser& ap)
{ {
c.parse(ap); c.parse(ap);
ap(tols.rms_tol, {"--rms_tol"}, ap.help("Tolerance for the RMS error")); ap(tols.rms_tol, {"--rms-tol"}, ap.help("Tolerance for the RMS error (Default: 0.001)"));
ap(tols.atol, {"--atol"}, ap.help("Tolerance for the elementwise absolute error")); ap(tols.atol,
ap(tols.rtol, {"--rtol"}, ap.help("Tolerance for the elementwise relative error")); {"--atol"},
ap.help("Tolerance for the elementwise absolute error (Default: 0.001)"));
ap(tols.rtol,
{"--rtol"},
ap.help("Tolerance for the elementwise relative error (Default: 0.001)"));
ap(per_instruction, ap(per_instruction,
{"-i", "--per-instruction"}, {"-i", "--per-instruction"},
ap.help("Verify each instruction"), ap.help("Verify each instruction"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment