Re: [PATCH] OpenMP: Create additional interop objects with append_args.

2025-04-04 Thread Tobias Burnus
Hi Sandra, Sandra Loosemore wrote: This patch adds support for the case where #pragma omp declare variant with append_args is used inside a #pragma omp dispatch interop that specifies fewer interop args than required by the variant; new interop objects are implicitly created and then destroyed a

Re: [PATCH] OpenMP: Create additional interop objects with append_args.

2025-03-25 Thread Tobias Burnus
Sandra Loosemore wrote: On 3/23/25 14:28, Tobias Burnus wrote: Thus, please useGOMP_DEVICE_DEFAULT_OMP_61 for: […] Done. (B) prefer_type & Fortran […] This turned out to be an accidental redefinition of a variable that shadowed one of the same name in an outer scope.  I added a simplified v

Re: [PATCH] OpenMP: Create additional interop objects with append_args.

2025-03-25 Thread Sandra Loosemore
On 3/23/25 14:28, Tobias Burnus wrote: [snip] Thus, please useGOMP_DEVICE_DEFAULT_OMP_61 for: +  if (dispatch_device_num == NULL_TREE) +    /* Not remapping device number.  */ +    dispatch_device_num = build_int_cst (integer_type_node, + GOMP_DEVICE_ICV);