[OpenMP][offload] Fix Global addrspace (#212529)

This commit is contained in:
Robert Imschweiler 2026-07-28 18:16:31 +02:00 committed by GitHub
parent 2db6978f72
commit 3a30af978d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@
template <typename T> using Private = __gpu_private T;
template <typename T> using Constant = __gpu_constant T;
template <typename T> using Local = __gpu_local T;
template <typename T> using Global = __gpu_local T;
template <typename T> using Global = __gpu_global T;
// See definition in OpenMP (omp.h.var/omp_lib.(F90|h).var)
#define omp_initial_device -1