[llvm] [Offload][OpenMP] Accept `omp_initial_device` for runtime calls (PR #205290)
Alex Duran via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 29 01:14:58 PDT 2026
Jan =?utf-8?q?André?= Reuter <j.reuter at fz-juelich.de>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/205290 at github.com>
================
@@ -6,7 +6,7 @@
int main() {
int d = omp_get_default_device();
- int id = omp_get_initial_device();
+ int id = omp_initial_device;
----------------
adurang wrote:
Any reason why this change (and similar ones) si needed? Both values are supposed to be correct. If anything we should test for both cases.
https://github.com/llvm/llvm-project/pull/205290
More information about the llvm-commits
mailing list