Skip to content

Conversation

tqchen
Copy link
Member

@tqchen tqchen commented May 7, 2025

This PR removes part of ffi refactor PackedFunc related scaffolding redirection

  • PackedFunc => ffi::Function
  • TypedPackedFunc => ffi::TypedFunction
  • TVMArgs => ffi::PackedArgs
  • TVMRetValue => ffi::Any
  • TVMArgValue => ffi::AnyView

Also updates the ffi::Function::FromUnpacked to ffi::Function::FromTyped to be consistent with the set_body_typed API.

@tqchen tqchen force-pushed the ffi-packed-func branch 4 times, most recently from 78556ac to f4ac229 Compare May 7, 2025 12:30
This PR removes part of ffi refactor PackedFunc related scaffolding redirection

- PackedFunc => ffi::Function
- TypedPackedFunc => ffi::TypedFunction
- TVMArgs => ffi::PackedArgs
- TVMRetValue => ffi::Any
- TVMArgValue => ffi::AnyView

Also updates the ffi::Function::FromUnpacked to ffi::Function::FromTyped
to be consistent with the set_body_typed API.
@tqchen tqchen force-pushed the ffi-packed-func branch from f4ac229 to ea4995d Compare May 7, 2025 14:09
@MasterJH5574 MasterJH5574 merged commit 16b2783 into main May 7, 2025
13 checks passed
@tqchen tqchen deleted the ffi-packed-func branch May 8, 2025 11:36
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
tqchen added a commit to tqchen/tvm that referenced this pull request Sep 13, 2025
tqchen added a commit to tqchen/tvm that referenced this pull request Sep 13, 2025
tqchen added a commit to tqchen/tvm that referenced this pull request Sep 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants