[Refactor] Rename and move kernel profiler APIs #4194
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related issue = #3782
ti.KernelProfiler
-> no exposure to usersti.get_default_kernel_profiler
-> no exposure to usersti.default_cupti_metrics
-> no exposure to usersti.CuptiMetric
->ti.profiler.CuptiMetric
ti.get_predefined_cupti_metrics
->ti.profiler.get_predefined_cupti_metrics
ti.print_kernel_profile_info
->ti.profiler.print_kernel_profiler_info
ti.query_kernel_profile_info
->ti.profiler.query_kernel_profiler_info
ti.clear_kernel_profile_info
->ti.profiler.clear_kernel_profiler_info
kernel_profiler_total_time
->ti.profiler.get_kernel_profiler_total_time
set_kernel_profiler_toolkit
->ti.profiler.set_kernel_profiler_toolkit
set_kernel_profile_metrics
->ti.profiler.set_kernel_profiler_metrics
collect_kernel_profile_metrics
->ti.profiler.collect_kernel_profiler_metrics
The docs should be updated after the next release.