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

Make TVMLogf platform-independent #6916

Merged
merged 2 commits into from
Nov 14, 2020
Merged

Conversation

areusch
Copy link
Contributor

@areusch areusch commented Nov 13, 2020

When debugging vmalloc() on ARM devices, %zu was printing as "zu." This change fixes that.

  • Some platforms need to use an alternate printf() to support basic
    things like %zu. Since %zu is platform-specific, we prefer to
    use a printf() that supports it or allow the platform to fix it up
    as needed.

 * Some platforms need to use an alternate printf() to support basic
   things like %zu. Since %zu is platform-specific, we prefer to
   use a printf() that supports it or allow the platform to fix it up
   as needed.
@areusch
Copy link
Contributor Author

areusch commented Nov 14, 2020

@tqchen tqchen merged commit f9d26fb into apache:main Nov 14, 2020
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Dec 2, 2020
* Make TVMLogf platform-independent.

 * Some platforms need to use an alternate printf() to support basic
   things like %zu. Since %zu is platform-specific, we prefer to
   use a printf() that supports it or allow the platform to fix it up
   as needed.

* git-clang-format
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Dec 4, 2020
* Make TVMLogf platform-independent.

 * Some platforms need to use an alternate printf() to support basic
   things like %zu. Since %zu is platform-specific, we prefer to
   use a printf() that supports it or allow the platform to fix it up
   as needed.

* git-clang-format
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Dec 4, 2020
* Make TVMLogf platform-independent.

 * Some platforms need to use an alternate printf() to support basic
   things like %zu. Since %zu is platform-specific, we prefer to
   use a printf() that supports it or allow the platform to fix it up
   as needed.

* git-clang-format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants