NVIDIA / nvbench

CUDA Kernel Benchmarking Library
Apache License 2.0
525 stars 66 forks source link

Refactor main implementation to improve reusability and customization. #165

Closed alliepiper closed 7 months ago

alliepiper commented 7 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.