Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RUNTIME][CRT] init TVMPackedFunc's name #6044

Merged
merged 1 commit into from
Jul 16, 2020

Conversation

windclarion
Copy link
Contributor

or else src/runtime/crt/graph_runtime/graph_runtime.c TVMGraphRuntime_Run
Line 639 will show messy character.

@tqchen
Copy link
Member

tqchen commented Jul 13, 2020

cc @liangfu @areusch

Copy link
Contributor

@areusch areusch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @windclarion for the fix!

Copy link
Member

@liangfu liangfu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for bringing the fix @windclarion . However, I think strncpy should be replace by snprintf to avoid unsafe behavior in MISRA-C runtime, otherwise look good.

src/runtime/crt/common/packed_func.c Outdated Show resolved Hide resolved
@windclarion windclarion force-pushed the init_crt_func_name branch 3 times, most recently from 8521dfb to 1e23fcc Compare July 14, 2020 02:24
@windclarion
Copy link
Contributor Author

just rebase to retrigger, I can't understand fail message

@tqchen
Copy link
Member

tqchen commented Jul 15, 2020

This is a known flaky error, please retrigger again

or else src/runtime/crt/graph_runtime/graph_runtime.c TVMGraphRuntime_Run
Line 639 will show messy code.

Signed-off-by: windclarion <[email protected]>
@windclarion windclarion requested a review from liangfu July 15, 2020 14:45
@liangfu liangfu merged commit 3fda73f into apache:master Jul 16, 2020
@liangfu
Copy link
Member

liangfu commented Jul 16, 2020

Thanks @windclarion for contributing. Thanks @tqchen for reviewing. This is now merged.

@windclarion windclarion deleted the init_crt_func_name branch July 17, 2020 07:38
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Aug 26, 2020
or else src/runtime/crt/graph_runtime/graph_runtime.c TVMGraphRuntime_Run
Line 639 will show messy code.

Signed-off-by: windclarion <[email protected]>
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Aug 26, 2020
or else src/runtime/crt/graph_runtime/graph_runtime.c TVMGraphRuntime_Run
Line 639 will show messy code.

Signed-off-by: windclarion <[email protected]>
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Sep 2, 2020
or else src/runtime/crt/graph_runtime/graph_runtime.c TVMGraphRuntime_Run
Line 639 will show messy code.

Signed-off-by: windclarion <[email protected]>
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Sep 3, 2020
or else src/runtime/crt/graph_runtime/graph_runtime.c TVMGraphRuntime_Run
Line 639 will show messy code.

Signed-off-by: windclarion <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants