MCPcopy Create free account
hub / github.com/apache/tvm-ffi / ThreadLocal

Method ThreadLocal

src/ffi/error.cc:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 }
66
67 static SafeCallContext* ThreadLocal() {
68 static thread_local SafeCallContext ctx;
69 return &ctx;
70 }
71
72 private:
73 ObjectPtr<ErrorObj> last_error_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected