Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactor] Rename and move kernel profiler APIs #4194

Merged
merged 4 commits into from
Jan 29, 2022

Conversation

strongoier
Copy link
Contributor

Related issue = #3782

ti.KernelProfiler -> no exposure to users
ti.get_default_kernel_profiler -> no exposure to users
ti.default_cupti_metrics -> no exposure to users
ti.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.

@netlify
Copy link

netlify bot commented Jan 29, 2022

✔️ Deploy Preview for docsite-preview canceled.

🔨 Explore the source changes: a6aefe0

🔍 Inspect the deploy log: https://app.netlify.com/sites/docsite-preview/deploys/61f4ec3fd6a04600081cadbc

@strongoier
Copy link
Contributor Author

/format

Copy link
Member

@k-ye k-ye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants