This revision was automatically updated to reflect the committed changes.
Closed by commit rGe372c1d7624e: [HIP] Fix -fgpu-allow-device-init option
(authored by yaxunl).
Herald added a project: clang.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D885
yaxunl created this revision.
yaxunl added a reviewer: tra.
yaxunl requested review of this revision.
The option needs to be passed to both host and device compilation.
https://reviews.llvm.org/D88550
Files:
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/HIP.cpp
clang/t