NVIDIA / nvbench

CUDA Kernel Benchmarking Library
Apache License 2.0
474 stars 63 forks source link

Refactor main implementation to improve reusability and customization. #165

Closed alliepiper closed 5 months ago

alliepiper commented 5 months ago

Move the implementation of main out of macros and into separate functions. This allows for easier reuse and customization of the macros. Existing macro usage should still work as expected, and new customization points will simplify common tasks like argument parsing going forward.