NVIDIA / nvbench

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

Rename CUPTI methods for consistency with `state` API #177

Open alliepiper opened 2 months ago

alliepiper commented 2 months ago

NVBench uses a convention of set_<thing> and get_<thing> for interacting with object state, but the CUPTI metrics use a different convention of collect_<thing> and is_<thing>_collected. The CUPTI methods should be renamed for consistency with the rest of the library.

Since these APIs have been around a while, let's deprecate them when the new methods are added to give folks a chance to update before we yank them.