_ffi.libinfo#

Library information.

tvm._ffi.libinfo.find_include_path(name=None, search_path=None, optional=False)[源代码]#

Find header files for C compilation.

namelist of str

List of directory names to be searched.

include_pathlist(string)

List of all found paths to header files.

tvm._ffi.libinfo.find_lib_path(name=None, search_path=None, optional=False)[源代码]#

Find dynamic library files.

namelist of str

List of names to be found.

lib_pathlist(string)

List of all found path to the libraries

tvm._ffi.libinfo.get_dll_directories()[源代码]#

Get the possible dll directories

tvm._ffi.libinfo.split_env_var(env_var, split)[源代码]#

Splits environment variable string.

env_varstr

Name of environment variable.

splitstr

String to split env_var on.

splitslist(string)

If env_var exists, split env_var. Otherwise, empty list.