[libcu++] Skip __fp_set_exp fpclassify tests on denormals#9536
Conversation
|
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 (1)
SummaryThis PR updates the Changes
|
| Layer / File(s) | Summary |
|---|---|
Disable FP_SUBNORMAL assertions for positive and negative denormal cases libcudacxx/test/libcudacxx/libcxx/numerics/floating.point/decompose/set_exp.pass.cpp |
Both fpclassify(res) == FP_SUBNORMAL assertions wrap with #if !TEST_COMPILER(NVHPC) guards and include notes that NVHPC flushes subnormals to zero via __builtin_fpclassify on some architectures. |
Comment @coderabbitai help to get the list of available commands.
There was a problem hiding this comment.
🧹 Nitpick comments (1)
libcudacxx/test/libcudacxx/libcxx/numerics/floating.point/decompose/set_exp.pass.cpp (1)
68-70: 🧹 Nitpick | 🔵 Trivial | ⚡ Quick winsuggestion: avoid disabling these checks for both targets; gate them so host skips the flaky
fpclassifyexpectation while device still assertsFP_SUBNORMAL. This keeps coverage for__fp_set_expdenormal behavior without reintroducing host-compiler noise. As per coding guidelines, “Guard host-only or device-only behavior withNV_IF_TARGET(NV_IS_HOST, (...))andNV_IF_TARGET(NV_IS_DEVICE, (...))respectively.”Also applies to: 80-82
Source: Coding guidelines
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: bc450af0-5bd9-4e2f-a9b6-6c593e405120
📒 Files selected for processing (1)
libcudacxx/test/libcudacxx/libcxx/numerics/floating.point/decompose/set_exp.pass.cpp
This comment has been minimized.
This comment has been minimized.
679576e to
1c753b7
Compare
1c753b7 to
ebe765c
Compare
This comment has been minimized.
This comment has been minimized.
🥳 CI Workflow Results🟩 Finished in 2h 48m: Pass: 100%/69 | Total: 1d 20h | Max: 1h 07m | Hits: 99%/312003See results here. |
|
Successfully created backport PR for |
Fixes nvbug 6303102