tvm
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Typedefs | Functions
module.h File Reference

Runtime container of the functions. More...

#include <tvm/runtime/c_backend_api.h>
#include <tvm/runtime/crt/func_registry.h>
Include dependency graph for module.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TVMModule
 Module container of TVM. More...
 

Typedefs

typedef struct TVMModule TVMModule
 Module container of TVM. More...
 

Functions

int TVMModCreateFromCModule (const TVMModule *mod, TVMModuleHandle *out_handle)
 Create a new module handle from the given TVMModule instance. More...
 
const TVMModuleTVMSystemLibEntryPoint (void)
 Entry point for the system lib module. More...
 

Detailed Description

Runtime container of the functions.

Typedef Documentation

◆ TVMModule

typedef struct TVMModule TVMModule

Module container of TVM.

Function Documentation

◆ TVMModCreateFromCModule()

int TVMModCreateFromCModule ( const TVMModule mod,
TVMModuleHandle out_handle 
)

Create a new module handle from the given TVMModule instance.

Parameters
modThe module instance to register.
out_handlePointer to receive the newly-minted handle for this module.
Returns
0 on success, non-zero on error.

◆ TVMSystemLibEntryPoint()

const TVMModule* TVMSystemLibEntryPoint ( void  )

Entry point for the system lib module.