This is an automated email from the ASF dual-hosted git repository. wuwei pushed a commit to branch vk-i64 in repository https://gitbox.apache.org/repos/asf/tvm.git
commit 341d3468464489363d270e298adbb2344cd2d609 Author: Masahiro Masuda <[email protected]> AuthorDate: Thu Mar 4 04:35:20 2021 +0900 ArgUnion -> ArgUnion32 --- src/runtime/pack_args.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runtime/pack_args.h b/src/runtime/pack_args.h index 2e7a881..7c852da 100644 --- a/src/runtime/pack_args.h +++ b/src/runtime/pack_args.h @@ -41,7 +41,7 @@ namespace runtime { /*! * \brief argument union type of 32bit. */ -union ArgUnion { +union ArgUnion32 { int32_t v_int32; uint32_t v_uint32; float v_float32; @@ -151,9 +151,9 @@ inline PackedFunc PackFuncVoidAddr_(F f, const std::vector<ArgConvertCode>& code int num_args = static_cast<int>(codes.size()); auto ret = [f, codes, num_args](TVMArgs args, TVMRetValue* ret) { TempArray<void*, N> addr_(num_args); - TempArray<ArgUnion, N> holder_(num_args); + TempArray<ArgUnion32, N> holder_(num_args); void** addr = addr_.data(); - ArgUnion* holder = holder_.data(); + ArgUnion32* holder = holder_.data(); for (int i = 0; i < num_args; ++i) { switch (codes[i]) { case INT64_TO_INT64:
