Testing/Performance:
* Make the exceptions in `bench.cu` derive from `std::exception` so that their `.what` strings will be printed by the default terminate handler.
* Update the description of the `--postprocess` option for `eris_perf.py`.
git-commit
git-author Bryce Adelstein Lelbach aka wash
[git-p4: depot-paths = "//sw/gpgpu/thrust/": change = 24017619]
MODIFY
internal/benchmark/bench.cu
internal/benchmark/bench.cu
@@ -985,7 +985,7 @@ std::vector<std::string> split(std::string const& str, std::string const& delim)
///////////////////////////////////////////////////////////////////////////////
-struct command_line_option_error
+struct command_line_option_error : std::exception
{
virtual ~command_line_option_error() {}
virtual const char* what() const = 0;

MODIFY
internal/scripts/eris_perf.py
internal/scripts/eris_perf.py
@@ -63,7 +63,8 @@ ap.add_argument(
ap.add_argument(
"-p", "--postprocess",
- help = ("The postprocessing script to run to combine the results."),
+ help = ("The location of the postprocessing script to run to combine the "
+ "results."),
type = str,
default = join(dirname(realpath(__file__)), "combine_benchmark_results.py"),
metavar = "R"

Testing/Performance:
* Make the exceptions in `bench.cu` derive from `std::exception` so that their `.what` strings will be printed by the default terminate handler.
* Update the description of the `--postprocess` option for `eris_perf.py`.
git-commit aee5e0187217fcec2e6e101232c28d1820a69ffa
git-author Bryce Adelstein Lelbach aka wash <brycelelbach@gmail.com>

[git-p4: depot-paths = "//sw/gpgpu/thrust/": change = 24017619]