[Openmp-commits] [llvm] [openmp] [OFFLOAD][OPENMP] 6.0 compatible interop interface (PR #143491)
Alex Duran via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jul 17 04:21:16 PDT 2025
================
@@ -34,10 +87,96 @@ typedef struct omp_interop_val_t {
__tgt_device_info device_info;
const kmp_interop_type_t interop_type;
const intptr_t device_id;
- const omp_foreign_runtime_ids_t vendor_id = cuda;
- const intptr_t backend_type_id = omp_interop_backend_type_cuda_1;
+ omp_vendor_id_t vendor_id = omp_vendor_llvm;
+ omp_foreign_runtime_id_t fr_id = omp_fr_none;
+ interop_attrs_t attrs{false, 0}; // Common prefer specification attributes
+ int64_t impl_attrs = 0; // Implementation prefer specification attributes
----------------
adurang wrote:
You're not wrong here... but the other existing fields are xxx_yyy. AFAIS, lower case kind of fields are more part of the interface (which impl_attrs is). The others are more internal fields.
Shall I rename all fields one way or the other?
https://github.com/llvm/llvm-project/pull/143491
More information about the Openmp-commits
mailing list