MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / Check

Method Check

oneflow/core/framework/tensor_rpc_util.cpp:147–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147Maybe<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
154int64_t* MutThreadLocalTensorMetaCheckDepth() {
155 static thread_local int64_t depth = 0;

Callers 3

BusyWaitAndCheckFunction · 0.45
CheckFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected