Refactor enum to string functions - #9752
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Jacobfaib
left a comment
There was a problem hiding this comment.
LGTM, thanks for the quick PR!
| #if __cpp_lib_format >= 201907L && !defined(_CCCL_DOXYGEN_INVOKED) | ||
| template <::cuda::std::same_as<char> CharT> | ||
| struct std::formatter<CUB_NS_QUALIFIER::BlockHistogramMemoryPreference, CharT> : formatter<const CharT*, CharT> | ||
| struct ::std::formatter<CUB_NS_QUALIFIER::BlockHistogramMemoryPreference, CharT> : formatter<const CharT*, CharT> |
There was a problem hiding this comment.
formatter as well? Or is that in the cub namespace?
davebayer
left a comment
There was a problem hiding this comment.
We can't fully qualify the formatter specializations, because there is a bug in gcc that makes it refuse to compile the code :D
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (10)
🚧 Files skipped from review as they are similar to previous changes (10)
📝 WalkthroughSummary by CodeRabbit
WalkthroughChangesCUB enum-to-string helpers add CUB stringification helpers
Possibly related PRs
Suggested reviewers: Comment |
704b941 to
32515f8
Compare
482c397 to
da8bd12
Compare
This comment has been minimized.
This comment has been minimized.
🥳 CI Workflow Results🟩 Finished in 2h 38m: Pass: 100%/287 | Total: 6d 15h | Max: 2h 38m | Hits: 48%/403232See results here. |
As suggested by @Jacobfaib on #9745, this PR:
to_stringfunctions out ofswitchesFully qualifiesstd::formatterspecializations_CCCL_API