This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git
The following commit(s) were added to refs/heads/master by this push:
new 9db632f [Runtime] Fix TVM_DLL_EXPORT_TYPED_FUNC to work on Windows
(#4955)
9db632f is described below
commit 9db632fb75e4c7e505316baed7523117c7c4bf90
Author: Jon Soifer <[email protected]>
AuthorDate: Thu Feb 27 13:32:16 2020 -0800
[Runtime] Fix TVM_DLL_EXPORT_TYPED_FUNC to work on Windows (#4955)
* [Runtime] Fixed TVM_DLL_EXPORT_TYPED_FUNC to work on Windows
* fix style
Co-authored-by: Jon Soifer <[email protected]>
---
include/tvm/runtime/packed_func.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/tvm/runtime/packed_func.h
b/include/tvm/runtime/packed_func.h
index 1373f5f..7e37b2a 100644
--- a/include/tvm/runtime/packed_func.h
+++ b/include/tvm/runtime/packed_func.h
@@ -919,7 +919,12 @@ class TVMRetValue : public TVMPODValue_ {
int* type_code, \
int num_args, \
TVMValue* out_value, \
- int* out_type_code) { \
+ int* out_type_code); \
+ int ExportName(TVMValue* args, \
+ int* type_code, \
+ int num_args, \
+ TVMValue* out_value, \
+ int* out_type_code) { \
try { \
::tvm::runtime::TVMRetValue rv; \
Function(::tvm::runtime::TVMArgs( \