If use_device_ptr/use_device_addr clauses are used on target data
directive and no device was specified during the compilation, only host
part should be emitted. But it still required to emit captured decls for
partially mapped data fields.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
LG, thanks a lot for the quick fix.
clang/lib/CodeGen/CGStmtOpenMP.cpp | ||
---|---|---|
7294 | nit. I prefer outer braces if and inner blocks have braces. |
nit. I prefer outer braces if and inner blocks have braces.