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

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 8 10:44:21 PST 2025


jhuber6 wrote:

> What code generation path would be used in this case? The GPU code generation or regular host OpenMP?

The GPU path, I'm treating that as the code generation path that created correct runtime code for the GPU. I.e. you can link it with your OpenMP offloading program and it'll work.

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


More information about the cfe-commits mailing list