| 145 | } |
| 146 | |
| 147 | Maybe<void> CheckConsistencyAsyncTransportCtx::Check() const { |
| 148 | if (!flat_tensor_consistency_) { return Maybe<void>::Ok(); } |
| 149 | JUST(flat_tensor_consistency_->Check(tensor_meta_, consumer_nd_sbp_constraint_, |
| 150 | tensor_transport_token_)); |
| 151 | return Maybe<void>::Ok(); |
| 152 | } |
| 153 | |
| 154 | int64_t* MutThreadLocalTensorMetaCheckDepth() { |
| 155 | static thread_local int64_t depth = 0; |
no outgoing calls
no test coverage detected