[llvm] [Offload][OpenMP] Accept `omp_initial_device` for runtime calls (PR #205290)

Jan André Reuter via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 30 00:33:13 PDT 2026


Thyre wrote:

> As for the helper place, I think device.h seems like a natural fit but if you don't want to move that's ok with me too.

I thought about `device.h`, but decided against that, since `isInitialDevice` is more of an OpenMP implementation detail,  whereas `device.h` is more generic for offload.
But moving that function shouldn't be much of an issue if we want to clean this up / change this later on.

As a heads-up, I won't be able to merge this, since I don't have commit access.
I probably should apply for it at some point.

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


More information about the llvm-commits mailing list