This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch nightly
in repository https://gitbox.apache.org/repos/asf/tvm.git
from b67650f102 [FFI] fix two seemingly migration issue (#18258)
add 46eac564a5 [FFI][ABI] Introduce weak rc support (#18259)
add 9b5930d1c1 [FFI][DOCS] Add missing files in packaging example (#18261)
add c356c562bf [BugFix][NNAPI] Use kind() instead of type_key() after FFI
refactor (#18262)
add ab2b2d08e9 [FFI][DOCS] Initial docs scaffolding (#18263)
No new revisions were added by this update.
Summary of changes:
ffi/docs/.gitignore | 1 +
.../docs/Makefile | 40 +-
{3rdparty/picojson => ffi/docs}/README.md | 19 +-
ffi/docs/concepts/abi_overview.md | 430 +++++++++++++++
ffi/docs/conf.py | 182 +++++++
ffi/docs/get_started/install.md | 83 +++
ffi/docs/get_started/quick_start.md | 212 ++++++++
ffi/docs/guides/cpp_guide.md | 584 +++++++++++++++++++++
ffi/docs/guides/packaging.md | 282 ++++++++++
ffi/docs/guides/python_guide.md | 243 +++++++++
{docs/how_to/dev => ffi/docs}/index.rst | 27 +-
ffi/docs/requirements.txt | 18 +
ffi/examples/packaging/CMakeLists.txt | 20 +-
ffi/examples/packaging/README.md | 6 +-
ffi/examples/packaging/pyproject.toml | 6 +-
.../__init__.py | 0
.../_ffi_api.py | 4 +-
.../base.py | 6 +-
.../tvm_ffi_extension/base.py => run_example.py} | 31 +-
ffi/examples/packaging/src/extension.cc | 88 ++++
.../{get_started => quick_start}/CMakeLists.txt | 0
.../{get_started => quick_start}/README.md | 0
.../{get_started => quick_start}/run_example.py | 0
.../{get_started => quick_start}/run_example.sh | 0
.../src/add_one_cpu.cc | 0
.../src/add_one_cuda.cu | 0
.../src/run_example.cc | 0
ffi/include/tvm/ffi/c_api.h | 65 ++-
ffi/include/tvm/ffi/memory.h | 46 +-
ffi/include/tvm/ffi/object.h | 261 ++++++++-
ffi/include/tvm/ffi/type_traits.h | 2 +-
ffi/pyproject.toml | 2 +-
ffi/python/tvm_ffi/cython/base.pxi | 2 +-
ffi/python/tvm_ffi/cython/dtype.pxi | 2 +-
ffi/python/tvm_ffi/cython/object.pxi | 2 +-
ffi/src/ffi/extra/testing.cc | 35 ++
ffi/src/ffi/object.cc | 8 +-
ffi/tests/cpp/test_c_ffi_abi.cc | 2 +-
ffi/tests/cpp/test_example.cc | 289 ++++++++++
ffi/tests/cpp/test_object.cc | 119 +++++
jvm/native/src/main/native/jni_helper_func.h | 2 +-
.../src/main/native/org_apache_tvm_native_c_api.cc | 2 +-
src/runtime/contrib/nnapi/nnapi_runtime.cc | 2 +-
src/tir/transforms/make_packed_api.cc | 4 +-
web/src/ctypes.ts | 6 +-
web/src/runtime.ts | 8 +-
46 files changed, 3014 insertions(+), 127 deletions(-)
create mode 100644 ffi/docs/.gitignore
copy .github/workflows/update_last_successful_branch.yml => ffi/docs/Makefile
(53%)
copy {3rdparty/picojson => ffi/docs}/README.md (79%)
create mode 100644 ffi/docs/concepts/abi_overview.md
create mode 100644 ffi/docs/conf.py
create mode 100644 ffi/docs/get_started/install.md
create mode 100644 ffi/docs/get_started/quick_start.md
create mode 100644 ffi/docs/guides/cpp_guide.md
create mode 100644 ffi/docs/guides/packaging.md
create mode 100644 ffi/docs/guides/python_guide.md
copy {docs/how_to/dev => ffi/docs}/index.rst (71%)
create mode 100644 ffi/docs/requirements.txt
rename ffi/examples/packaging/python/{tvm_ffi_extension =>
my_ffi_extension}/__init__.py (100%)
rename ffi/examples/packaging/python/{tvm_ffi_extension =>
my_ffi_extension}/_ffi_api.py (90%)
copy ffi/examples/packaging/python/{tvm_ffi_extension =>
my_ffi_extension}/base.py (89%)
rename ffi/examples/packaging/{python/tvm_ffi_extension/base.py =>
run_example.py} (61%)
create mode 100644 ffi/examples/packaging/src/extension.cc
rename ffi/examples/{get_started => quick_start}/CMakeLists.txt (100%)
rename ffi/examples/{get_started => quick_start}/README.md (100%)
rename ffi/examples/{get_started => quick_start}/run_example.py (100%)
rename ffi/examples/{get_started => quick_start}/run_example.sh (100%)
rename ffi/examples/{get_started => quick_start}/src/add_one_cpu.cc (100%)
rename ffi/examples/{get_started => quick_start}/src/add_one_cuda.cu (100%)
rename ffi/examples/{get_started => quick_start}/src/run_example.cc (100%)
create mode 100644 ffi/tests/cpp/test_example.cc