This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new c356c562bf [BugFix][NNAPI] Use kind() instead of type_key() after FFI 
refactor (#18262)
c356c562bf is described below

commit c356c562bff4397f8cd5537d6456a333ed993859
Author: Henry Hsieh <[email protected]>
AuthorDate: Tue Sep 2 00:00:05 2025 +0800

    [BugFix][NNAPI] Use kind() instead of type_key() after FFI refactor (#18262)
    
    [BugFix][NNAPI] Use kind() after FFI refactor
    
    This commit updates nnapi_runtime.cc to override kind() instead of 
type_key(),
    aligning NNAPI with the new FFI interface. Behavior is consistent with
    other runtimes that were updated in commit b8eb80b.
---
 src/runtime/contrib/nnapi/nnapi_runtime.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/runtime/contrib/nnapi/nnapi_runtime.cc 
b/src/runtime/contrib/nnapi/nnapi_runtime.cc
index 71335f3ee2..51047d90fd 100644
--- a/src/runtime/contrib/nnapi/nnapi_runtime.cc
+++ b/src/runtime/contrib/nnapi/nnapi_runtime.cc
@@ -54,7 +54,7 @@ class NNAPIRuntime : public JSONRuntimeBase {
                         const Array<String>& const_names)
       : JSONRuntimeBase(symbol_name, graph_json, const_names) {}
 
-  const char* type_key() const final { return "nnapi"; }
+  const char* kind() const final { return "nnapi"; }
 
 #ifdef TVM_GRAPH_EXECUTOR_NNAPI
   struct CompiledModel {

Reply via email to