MCPcopy Create free account

hub / github.com/apache/tvm-ffi / functions

Functions5,333 in github.com/apache/tvm-ffi

↓ 1 callersFunctionraise_cxx_error
()
tests/python/test_error.py:106
↓ 1 callersFunctionraise_error
()
tests/python/test_error.py:65
↓ 1 callersFunctionregister
Register the error class name with the FFI core.
python/tvm_ffi/error.py:247
↓ 1 callersFunctionregister
Register the global function with the FFI core.
python/tvm_ffi/registry.py:167
↓ 1 callersFunctionregister_object
Register object type. Parameters ---------- type_key The type key of the node. It requires ``type_key`` to be registered already
python/tvm_ffi/registry.py:36
↓ 1 callersFunctionremove_global_func
Remove a global function by name. Parameters ---------- name The name of the global function. Examples -------- .. c
python/tvm_ffi/registry.py:237
↓ 1 callersMethodreserve
! * \brief Make sure the list has the capacity of at least n * \param n lower bound of the capacity */
include/tvm/ffi/container/array.h:532
↓ 1 callersMethodreset
! \brief reset the content of ptr to be nullptr */
include/tvm/ffi/object.h:568
↓ 1 callersMethodreset
! \brief reset the content of ptr to be nullptr */
include/tvm/ffi/object.h:715
↓ 1 callersFunctionrun_add_one
Invoke add_one from the extension and print the result.
examples/python_packaging/run_example.py:30
↓ 1 callersFunctionrun_add_two
Invoke add_two from the extension and print the result.
examples/python_packaging/run_example.py:24
↓ 1 callersFunctionrun_benchmark
Run overhead benchmarks for both Triton and TVM-FFI. Parameters ---------- cubin_bytes : bytes Compiled CUBIN bytes num_calls
examples/cubin_launcher/benchmark_overhead.py:212
↓ 1 callersFunctionrun_int_pair
Invoke IntPair from the extension to demonstrate object handling.
examples/python_packaging/run_example.py:45
↓ 1 callersFunctionrun_parallel
(cmd: list[str], files: list[str], jobs: int)
tests/lint/clang_tidy_precommit.py:119
↓ 1 callersFunctionrun_raise_error
Invoke raise_error from the extension to demonstrate error handling.
examples/python_packaging/run_example.py:36
↓ 1 callersMethodsame_as
! * \brief Comparator * \param other Another object ref. * \return the compare result. */
include/tvm/ffi/object.h:783
↓ 1 callersMethodshape
! * \brief Get the shape of the Tensor. * \return The shape of the Tensor. */
include/tvm/ffi/container/tensor.h:311
↓ 1 callersMethodshape
! * \brief Get the shape of the Tensor. * \return The shape of the Tensor. */
include/tvm/ffi/container/tensor.h:750
↓ 1 callersFunctionshould_skip_file
Check if file should be skipped based on SKIP_LIST.
tests/lint/check_asf_header.py:177
↓ 1 callersMethodsum
(self, /)
python/tvm_ffi/testing/testing.py:94
↓ 1 callersMethodsum
(self, /)
examples/python_packaging/python/my_ffi_extension/_ffi_api.py:55
↓ 1 callersFunctiontest_echo
()
tests/python/test_function.py:37
↓ 1 callersMethodtest_map
tvm_ffi.Map → canonical origin 'Map'.
tests/python/test_type_converter.py:4173
↓ 1 callersFunctiontest_raise_error
(_0: str, _1: str, /)
python/tvm_ffi/testing/_ffi_api.py:94
↓ 1 callersFunctiontoposort_objects
Collect ObjectInfo objects for type keys, topologically sorted by inheritance.
python/tvm_ffi/stub/lib_state.py:74
↓ 1 callersFunctiontrigger_cpp_side_error
()
tests/python/test_error.py:134
↓ 1 callersFunctiontvm_ffi_nop
Overhead of tvm FFI python call via calling a NOP. testing.nop is defined in c++ and do nothing.
tests/scripts/benchmark_dlpack.py:130
↓ 1 callersFunctiontvm_ffi_nop_autodlpack_from_numpy
Measures overhead of running dlpack via auto convert by directly take numpy.ndarray as inputs.
tests/scripts/benchmark_dlpack.py:275
↓ 1 callersFunctiontvm_ffi_nop_from_numpy_dlpack
Run dlpack conversion + tvm_ffi.nop. Measures overhead of running dlpack for each args then invoke
tests/scripts/benchmark_dlpack.py:179
↓ 1 callersFunctiontvm_ffi_nop_from_torch_dlpack
Run dlpack conversion + tvm_ffi.nop. Measures overhead of running dlpack for each args then invoke
tests/scripts/benchmark_dlpack.py:168
↓ 1 callersFunctiontvm_ffi_nop_from_torch_utils_to_dlpack
Measures overhead of running dlpack for each args then invoke but uses the legacy torch.utils.dlpack.to_dlpack API. This helps to measure pos
tests/scripts/benchmark_dlpack.py:201
↓ 1 callersFunctiontvm_ffi_self_dlpack_nop
Run dlpack conversion + tvm_ffi.nop. Measures overhead of running dlpack for each args then invoke
tests/scripts/benchmark_dlpack.py:190
↓ 1 callersMethodtype_index
! \return The internal runtime type index of the object. */
include/tvm/ffi/object.h:228
↓ 1 callersMethodupdate
Update the dict from a mapping.
python/tvm_ffi/container.py:771
↓ 1 callersFunctionupdate_ld_library_path
Update the LD_LIBRARY_PATH environment variable so cargo run/test can directly pick it up note that it won't always work later consumption of the libr
rust/tvm-ffi-sys/build.rs:26
↓ 1 callersFunctionupdate_ld_library_path
Update the LD_LIBRARY_PATH environment variable so cargo run/test can directly pick it up note that it won't always work later consumption of the libr
rust/tvm-ffi/build.rs:41
↓ 1 callersFunctionuse_cubin_kernel
Load and test CUBIN kernels through TVM-FFI. Parameters ---------- cubin_bytes : bytes Compiled CUBIN bytes Returns ----
examples/cubin_launcher/example_nvrtc_cubin.py:79
↓ 1 callersFunctionuse_cubin_kernel
Load and test Triton CUBIN kernel through TVM-FFI. Parameters ---------- cubin_bytes : bytes Compiled CUBIN bytes Returns
examples/cubin_launcher/example_triton_cubin.py:79
↓ 1 callersMethodvalue_or
include/tvm/ffi/optional.h:313
↓ 1 callersFunctionweak_count
(handle: *mut TVMFFIObject)
rust/tvm-ffi/src/object.rs:195
↓ 1 callersFunctionwith_stream
Call `f` with the device stream temporarily set to `stream`. # Safety `stream` must be a valid stream handle for the given device, or null.
rust/tvm-ffi/src/device.rs:34
↓ 1 callersFunctionworker
Worker function that tries to acquire lock and increment counter.
tests/python/utils/filelock_worker.py:25
↓ 1 callersMethod~Any
! * \brief Destructor */
include/tvm/ffi/any.h:267
MethodAccessPath
include/tvm/ffi/reflection/access_path.h:367
MethodAccessPathObj
default constructor to enable auto-serialization
include/tvm/ffi/reflection/access_path.h:205
MethodAccessStep
! * \brief Constructor * \param kind The kind of the access step. * \param key The key of the access step. */
include/tvm/ffi/reflection/access_path.h:113
MethodAccessStepObj
default constructor to enable auto-serialization
include/tvm/ffi/reflection/access_path.h:80
MethodAdd
tests/cpp/testing_object.h:118
MethodAddI64
src/ffi/testing/testing.cc:114
MethodAddInt
Some methods to exercise RegisterMethod
src/ffi/testing/testing.cc:749
MethodAddObjectFile
addons/tvm_ffi_orcjit/src/ffi/orcjit_dylib.cc:107
FunctionAddOne
! * \brief Launch add_one_cuda kernel on input tensor. * \param x Input tensor (float32, 1D) * \param y Output tensor (float32, 1D, same shape as x
examples/cubin_launcher/embedded_cubin/cpp_embed/src/lib_embedded.cc:49
FunctionAddOne
! * \brief Launch add_one_cuda kernel on input tensor. * \param x Input tensor (float32, 1D) * \param y Output tensor (float32, 1D, same shape as x
examples/cubin_launcher/embedded_cubin/embed_with_tvm_ffi/src/lib_embedded.cc:46
FunctionAddOne
! * \brief Launch add_one_cuda kernel on input tensor. * \param x Input tensor (float32, 1D) * \param y Output tensor (float32, 1D, same shape as x
examples/cubin_launcher/embedded_cubin/include_bin2c/src/lib_embedded.cc:46
FunctionAddOne
! * \brief Launch add_one_cuda kernel on input tensor. * \param x Input tensor (float32, 1D) * \param y Output tensor (float32, 1D, same shape as x
examples/cubin_launcher/dynamic_cubin/src/lib_dynamic.cc:61
FunctionAddOne
examples/python_packaging/src/extension.cc:38
FunctionAddOne
! \brief Perform vector add one: y = x + 1 (1-D float32) */
examples/quickstart/compile/add_one_cpu.cc:27
MethodAddOneFloat
tests/cpp/test_overload.cc:38
MethodAddOneInt
tests/cpp/test_overload.cc:37
FunctionAddTwo
[tvm_ffi_abi.begin]
examples/python_packaging/src/extension.cc:32
MethodAgregate
include/tvm/ffi/container/array.h:680
MethodAgregateImpl
include/tvm/ffi/container/array.h:562
FunctionAlignedAlloc
include/tvm/ffi/memory.h:56
MethodAllocData
tests/cpp/test_tensor.cc:27
MethodAllocData
tests/cpp/test_example.cc:127
MethodAllocData
tests/cpp/extra/test_c_env_api.cc:36
MethodAllocData
examples/quickstart/load/load_cpp.cc:50
MethodAllocData
examples/quickstart/load/load_cuda.cc:50
MethodAny
! * \brief Default constructor */
include/tvm/ffi/any.h:259
FunctionAny_AnyView_Destroy
[Any_AnyView.Destroy.begin]
examples/abi_overview/example_code.c:76
FunctionAny_AnyView_FromFloat
examples/abi_overview/example_code.c:51
FunctionAny_AnyView_FromObjectPtr
[Any_AnyView.FromObjectPtr.begin]
examples/abi_overview/example_code.c:61
FunctionAny_AnyView_GetDLTensor
[Any_AnyView.GetDLTensor.begin]
examples/abi_overview/example_code.c:111
FunctionAny_AnyView_GetFloat
examples/abi_overview/example_code.c:99
FunctionAny_AnyView_GetObject
[Any_AnyView.GetObject.begin]
examples/abi_overview/example_code.c:123
MethodAppendInt
src/ffi/testing/testing.cc:750
MethodApply
include/tvm/ffi/function_details.h:47
MethodApply
! * \brief Move metadata into `FieldInfoBuilder` * \param info The field info builder. */
include/tvm/ffi/reflection/registry.h:90
MethodApply
! * \brief Apply the default value to the field info * \param info The field info. */
include/tvm/ffi/reflection/registry.h:156
MethodApply
! * \brief Apply the default factory to the field info * \param info The field info. */
include/tvm/ffi/reflection/registry.h:189
MethodApply
! * \brief Apply the field flag to the field info * \param info The field info. */
include/tvm/ffi/reflection/registry.h:247
MethodApply
! * \brief Apply the compare flag to the field info. * \param info The field info. */
include/tvm/ffi/reflection/registry.h:298
MethodApply
! * \brief Apply the hash flag to the field info. * \param info The field info. */
include/tvm/ffi/reflection/registry.h:326
MethodApply
! * \brief Apply the kw_only flag to the field info. * \param info The field info. */
include/tvm/ffi/reflection/registry.h:358
MethodApply
! * \brief Apply the init flag to the field info. * \param info The field info. */
include/tvm/ffi/reflection/registry.h:673
MethodApplyExtraInfoTrait
include/tvm/ffi/reflection/registry.h:443
MethodApplyFieldInfoTrait
include/tvm/ffi/reflection/registry.h:423
MethodApplyMethodInfoTrait
include/tvm/ffi/reflection/registry.h:433
FunctionArrayContains
(_0: Sequence[Any], _1: Any, /)
python/tvm_ffi/_ffi_api.py:40
FunctionArrayGetItem
(_0: Sequence[Any], _1: int, /)
python/tvm_ffi/_ffi_api.py:41
MethodArrayItem
src/ffi/extra/visit_error_context.cc:112
MethodArrayItem
! * \brief Create an access step for a array item access. * \param index The index of the array item to access. * \return The access step.
include/tvm/ffi/reflection/access_path.h:139
MethodArrayItemMissing
! * \brief Create an access step for a array item missing access. * \param index The index of the array item to access. * \return The access
include/tvm/ffi/reflection/access_path.h:146
FunctionArraySize
(_0: Sequence[Any], /)
python/tvm_ffi/_ffi_api.py:42
MethodAssign
include/tvm/ffi/container/array.h:632
MethodAssign
include/tvm/ffi/container/list.h:449
MethodAttachFieldFlag
! * \brief Attach a field flag to the field * \param flag The flag to be set */
include/tvm/ffi/reflection/registry.h:213
MethodAttr
src/ffi/extra/visit_error_context.cc:94
MethodAttr
! * \brief Create an access step for a object attribute access. * \param field_name The name of the field to access. * \return The access ste
include/tvm/ffi/reflection/access_path.h:121
MethodAttrMissing
! * \brief Create an access step for a object attribute missing access. * \param field_name The name of the field to access. * \return The ac
include/tvm/ffi/reflection/access_path.h:130
← previousnext →1,001–1,100 of 5,333, ranked by callers