unisa-hpc / sycl-bench

SYCL Benchmark Suite
BSD 3-Clause "New" or "Revised" License
56 stars 31 forks source link

Add `BenchmarkArgs` to `getBenchmarkName` #68

Closed Luigi-Crisci closed 9 months ago

Luigi-Crisci commented 9 months ago

This PR adds the BenchmarkArgs parameter to thegetBenchmarkName function. Before, if one had a kernel using additionals command line parameters there was no way to customize the kernel name when writing the output results. While it does not affect the benchmark suite structure, it does help to differentiate kernels when running separate benchmark instances .

While a better solution would be to provide the user a way to define additional output metric to pass to the result consumer, this should provide a quick and effective way to do it