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

add a new activity type in pytorch #758

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libkineto/include/ActivityType.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ enum class ActivityType {

// Optional Activity types
GLOW_RUNTIME, // host side glow runtime events
MTIA_RUNTIME, // host side MTIA runtime events
CUDA_PROFILER_RANGE, // CUPTI Profiler range for performance metrics
MTIA_CCP_EVENTS, // MTIA ondevice CCP events
HPU_OP, // HPU host side runtime event
Expand Down
1 change: 1 addition & 0 deletions libkineto/src/ActivityType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ static constexpr std::array<ActivityTypeName, activityTypeCount + 1> map{{
{"python_function", ActivityType::PYTHON_FUNCTION},
{"overhead", ActivityType::OVERHEAD},
{"glow_runtime", ActivityType::GLOW_RUNTIME},
{"mtia_runtime", ActivityType::MTIA_RUNTIME},
{"cuda_profiler_range", ActivityType::CUDA_PROFILER_RANGE},
{"mtia_ccp_events", ActivityType::MTIA_CCP_EVENTS},
{"hpu_op", ActivityType::HPU_OP},
Expand Down