[Openmp-commits] [openmp] [OpenMP] Avoid using CPU-specific flags on GPU (PR #159053)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 16 05:49:29 PDT 2025


https://github.com/jhuber6 requested changes to this pull request.

These are inherited from the global version, the correct solution (I think) is to do `-DRUNTIMES_amdgcn-amd-amdhsa_CMAKE_CXX_FLAGS=""` or something. If that works it might be reasonable behavior to put in the cache file.

I wonder if in the general case we should force users to be more specific on which flags are intended for the runtimes or not, but that might be a little user hostile. @petrhosek WDYT?

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


More information about the Openmp-commits mailing list