The option needs to be passed to both host and device compilation.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D88550
[HIP] Fix -fgpu-allow-device-init option ClosedPublic Authored by yaxunl on Sep 30 2020, 3:25 AM.
Details
Summary The option needs to be passed to both host and device compilation.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 30 2020, 9:33 AM Closed by commit rGe372c1d7624e: [HIP] Fix -fgpu-allow-device-init option (authored by yaxunl). · Explain WhyOct 4 2020, 7:17 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 295228 clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/HIP.cpp
clang/test/Driver/hip-options.hip
|