Repository navigation
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. |
555f6d0 to
c909a59
Compare
This comment has been minimized.
This comment has been minimized.
😬 CI Workflow Results🟥 Finished in 39m 55s: Pass: 5%/391 | Total: 1d 22h | Max: 30m 26s | Hits: 93%/27163See results here. |
| /** | ||
| * Enumerations of tile status | ||
| */ | ||
| enum ScanTileStatus |
There was a problem hiding this comment.
question: this is a rare case when we use enum at runtime. Does this affect codegen in any way?
There was a problem hiding this comment.
It would affect codegen in the same way that switching a variable from int to uint8_t will. Basically, for all of these underyling type changes, it makes all of these enums smaller (clang-tidy will always suggest the smallest possible type, given the enum values1).
Footnotes
-
This is not strictly true. If you have what looks like a flag enum (i.e. one whose members you intend to be XOR-ing), then
clang-tidywill compute the largest possible value you can make and suggest a type capable of holding that. ↩
|
@gevtushenko @fbusato @miscco @bernhardmgruber @davebayer given how controversial this check is, the overhead of needing to undo all the CUB changes (and likely others), and not wanting to give myself carpel tunnel I think I will just disable this check entirely for now. We could revisit it come CCCL 4.0, but in the interest of moving #8305 and other PRs forward I think it's probably for the best to let sleeping dogs lie for this one. Any objections? Otherwise I will close this PR. |
Description
closes
Checklist