Currently -fgpu-rdc is not passed to host clang -cc1.
This causes issue because -fgpu-rdc affects shadow
variable linkage in host compilation.
Details
Details
- Reviewers
tra - Commits
- rG1dab94f9ede5: [CUDA][HIP] Pass -fgpu-rdc to host clang -cc1
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/Driver/hip-rdc-device-only.hip | ||
---|---|---|
50–61 | At some point we should probably convert -SAME to -DAG so we don't have to shuffle the options around every time they change order. |
At some point we should probably convert -SAME to -DAG so we don't have to shuffle the options around every time they change order.