[clang] [OpenMP] Allow GPUs to be targeted directly via `-fopenmp`. (PR #122149)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 8 11:15:57 PST 2025


shiltian wrote:

> It should maintain the normal semantics you'd get with -fopenmp except it codegens certain things differently.

That is the key difference.

> Alternatively I could just remove OpenMP entirely from the DeviceRTL so I might just do that instead.

+1

https://github.com/llvm/llvm-project/pull/122149


More information about the cfe-commits mailing list