Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
LGTM thank you
include/clang/Driver/Options.td | ||
---|---|---|
606 ↗ | (On Diff #222746) | Since this is a more generic approach, we won't need to specify HIP ? |
include/clang/Driver/Options.td | ||
---|---|---|
606 ↗ | (On Diff #222746) | this patch only implemented this option for HIP. If it is used for other languages, this help text should be updated. |
include/clang/Driver/Options.td | ||
---|---|---|
606 ↗ | (On Diff #222746) | Hmm. Cuda currently uses -nocudalib for essentially the same purpose (Sort of like -nostdlib, but for CUDA). Perhaps we should consolidate all these into -nogpulib and alias -nocudalib to it. |
include/clang/Driver/Options.td | ||
---|---|---|
606 ↗ | (On Diff #222746) | how about other relevant options, such as replacing cuda-device-only with gpu-device-only or hip-device-only to avoid confusing with CUDA. |
include/clang/Driver/Options.td | ||
---|---|---|
606 ↗ | (On Diff #222746) | We seem to be doing exactly that, only incrementally. In general it does make sense to consolidate the flags where the functionality is common. This should be a separate patch, though. |
include/clang/Driver/Options.td | ||
---|---|---|
606 ↗ | (On Diff #222746) | agree |