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

Method CppCallDedirectToSafeCall

include/tvm/ffi/function.h:143–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142 private:
143 static void CppCallDedirectToSafeCall(const FunctionObj* func, const AnyView* args,
144 int32_t num_args, Any* rv) {
145 FunctionObj* self = static_cast<FunctionObj*>(const_cast<FunctionObj*>(func));
146 TVM_FFI_CHECK_SAFE_CALL(self->safe_call(self, reinterpret_cast<const TVMFFIAny*>(args),
147 num_args, reinterpret_cast<TVMFFIAny*>(rv)));
148 }
149};
150
151namespace details {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected