-
Notifications
You must be signed in to change notification settings - Fork 204
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
Remove all explicit usage of fmtlib #1724
Remove all explicit usage of fmtlib #1724
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One definite issue in the snprintf calls, the rest is all minor nits, I think
include/rmm/mr/device/detail/stream_ordered_memory_resource.hpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Mark
It looks like you found a number of the issues with my snprintf implementation that I have since fixed 😂 Hopefully I caught everything, I'll review now and see. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks great. I have a few small suggestions, and I'm blocking merge per discussion of #1722 (comment), but can approve once we resolve either way.
@vyasr none of your comments read as suggestions, just comments on differences from your PR. Are there any specific changes you are requesting? |
I resolved the indeterminate threads and left open the two that require nonzero resolution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
/merge |
…replay benchmark (#1728) Fixes #1727 Contributes to rapidsai/build-planning#26 - Removes `-Wno-error=deprecated-declarations` - Replaces deprecated usage of `rmm::logger()` in reply benchmark with supported `RMM_LOG_INFO` macros. Note the latter duplicates a change in #1724 which allows the two PRs to be merged independently. Authors: - Mark Harris (https://github.com/harrism) Approvers: - Rong Ou (https://github.com/rongou) - Bradley Dice (https://github.com/bdice) URL: #1728
Description
Fixes #1717
Also fixes #1710 in 5330063
I have replaced fmt-style format string placeholders (
"... {} ..."
) with printf-style placeholders by adding a functionrmm::detail::formatted_log()
, which I modified from @vyasr 's #1722.The only remaining mention of fmt is in CMakeLists.txt. Do we still need to explicitly fetch fmt?Removed.
Checklist