Commit 8f47632
[AMD][Triton] Fix C++ compilation errors in generated launcher code (#1212)
Summary:
Pull Request resolved: #1212
The AMD Triton backend generates C++ launcher code at runtime that
failed to compile with clang-20 in strict C++ mode due to:
- Enum type mismatch: HIP_SUCCESS vs hipSuccess
- Implicit int-to-enum assignment for hipLaunchAttributeID
- Narrowing int-to-unsigned-int conversions in HIP_LAUNCH_CONFIG initializer
___
overriding_review_checks_triggers_an_audit_and_retroactive_review
Oncall Short Name: triton
Reviewed By: agron911, yvonne-lab
Differential Revision: D100046561
fbshipit-source-id: bb4c8af33d5339f813a53a3b0948310ada4d77b91 parent b0490dc commit 8f47632
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
| 478 | + | |
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| |||
0 commit comments