areusch commented on a change in pull request #9395:
URL: https://github.com/apache/tvm/pull/9395#discussion_r746796926
##########
File path: src/target/target_kind.cc
##########
@@ -373,6 +373,8 @@ TVM_REGISTER_TARGET_KIND("hybrid", kDLCPU) // line break
TVM_REGISTER_TARGET_KIND("composite",
kDLCPU).add_attr_option<Array<Target>>("devices");
+TVM_REGISTER_TARGET_KIND("ethos-u", kDLCPU).set_attr<Bool>("c_device_api",
Bool(true));
Review comment:
aha so :) we are going to need to find a way to encode Device API calls
in TIR which is agnostic to the runtime, i think. There is a way to get the
`Module` instance in C++ runtime given a TVMDevice.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]