Function tvm::function::ffi::TVMBackendRegisterEnvCAPI [−][src]
Expand description
\brief Backend function to register execution environment(e.g. python) specific C APIs.
\note We only register the C API function when absolutely necessary (e.g. when signal handler cannot trap back into python). In most cases we should use the PackedFunc FFI.
\param name The name of the symbol \param ptr The symbol address. \return 0 when no error is thrown, -1 when failure happens
