fix an error when I reorder the line ids.
PiperOrigin-RevId: 294734836 Change-Id: Ieda2ec9ed3b2575e82281da769f2a9faf85d3f06
This commit is contained in:
parent
77e9ffb9b2
commit
b547feade6
@ -28,7 +28,7 @@ constexpr int kThreadIdHloModule = kThreadIdDerivedMin + 2;
|
||||
constexpr int kThreadIdHloOp = kThreadIdDerivedMin + 3;
|
||||
constexpr int kThreadIdOverhead = kThreadIdDerivedMin + 4;
|
||||
// Last derived stream/thread id.
|
||||
constexpr int kThreadIdDerivedMax = kThreadIdHloModule;
|
||||
constexpr int kThreadIdDerivedMax = kThreadIdOverhead;
|
||||
|
||||
static inline bool IsDerivedThreadId(int thread_id) {
|
||||
return thread_id >= kThreadIdDerivedMin && thread_id <= kThreadIdDerivedMax;
|
||||
|
Loading…
Reference in New Issue
Block a user