Diff Detail
Diff Detail
Paths
| Differential D99201
[AMDGPU] Diagnose unaligned atomic for amdgpu Needs ReviewPublic Authored by yaxunl on Mar 23 2021, 11:07 AM.
Diff Detail Event TimelineHerald added subscribers: kerbowa, t-tye, tpr and 4 others. · View Herald TranscriptMar 23 2021, 11:07 AM yaxunl added a parent revision: D71726: Let clang atomic builtins fetch add/sub support floating point types.Mar 23 2021, 11:09 AM
yaxunl added inline comments. yaxunl marked 2 inline comments as done. yaxunl retitled this revision from [HIP] Diagnose unaligned atomic for amdgpu to [AMDGPU] Diagnose unaligned atomic for amdgpu. Comment Actionsrevised by Artem's and Fangrui's comments
Revision Contents
Diff 332731 clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/hip-options.hip
clang/test/SemaCUDA/amdgpu-atomic-ops.cu
|
Should it be done from HIPAMDToolChain::addClangWarningOptions ?
That's where Darwin does similar propotion from a waring to an error.