Skip to content
Open
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
2 changes: 2 additions & 0 deletions tsl/profiler/lib/context_types.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ const char* GetContextTypeString(ContextType context_type) {
return "threadpool_event";
case ContextType::kJaxServingExecutor:
return "jax_serving";
case ContextType::kScOffload:
return "sparsecore_offload";
}
}

Expand Down
3 changes: 2 additions & 1 deletion tsl/profiler/lib/context_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ enum class ContextType : int {
kPjrtLibraryCall,
kThreadpoolEvent,
kJaxServingExecutor,
kLastContextType = ContextType::kJaxServingExecutor,
kScOffload,
kLastContextType = ContextType::kScOffload,
};

// In XFlow we encode context type as flow category as 6 bits.
Expand Down