Skip to content

Commit

Permalink
Add Extra Overhead Cases (#1023)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #1023

CUPTI has added extra cases for overhead events. We should add them to kineto so these events are not just set as unknown

Reviewed By: aaronenyeshi, davidberard98

Differential Revision: D67539465

fbshipit-source-id: 0b0bae366ff796fc08d2ad8fd99cbc4ca9869561
  • Loading branch information
sraikund16 authored and facebook-github-bot committed Dec 23, 2024
1 parent bc1616a commit c2bbbdd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions libkineto/src/cupti_strings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,18 @@ const char* overheadKindString(CUpti_ActivityOverheadKind kind) {
return "Instrumentation";
case CUPTI_ACTIVITY_OVERHEAD_CUPTI_RESOURCE:
return "Resource";
#if CUDART_VERSION >= 12040
case CUPTI_ACTIVITY_OVERHEAD_RUNTIME_TRIGGERED_MODULE_LOADING:
return "Runtime Triggered Module Loading";
case CUPTI_ACTIVITY_OVERHEAD_LAZY_FUNCTION_LOADING:
return "Lazy Function Loading";
case CUPTI_ACTIVITY_OVERHEAD_COMMAND_BUFFER_FULL:
return "Command Buffer Full";
#endif
#if CUDART_VERSION >= 12070
case CUPTI_ACTIVITY_OVERHEAD_ACTIVITY_BUFFER_REQUEST:
return "Activity Buffer Request";
#endif
case CUPTI_ACTIVITY_OVERHEAD_FORCE_INT:
return "Force Int";
default:
Expand Down

0 comments on commit c2bbbdd

Please sign in to comment.