Hi Kwok,
Kwok Cheung Yeung wrote:
I find the following warning odd:
#pragma omp target map(iterator(i3=0:10, j3=0:20, k3=0:30), to:
x[i3+j3], y[j3+k3], z[k3+i3])
;
/* { dg-warning "iterator variable .i3. not used in clause
expression" "" { target *-*-* } .-2 } */
/* { dg-warnin
Hi Tobias,
Thanks for the review.
On 17/07/2025 10:09 am, Tobias Burnus wrote:
Regarding gcc/testsuite/c-c++-common/gomp/target-map-iterators-2.c:
target-map-iterators-2.c:6:25: warning: iterator variable ‘i’ not used
in clause expression
and
+ warning_at (OMP_CLAUSE_LOCATION
Hi Kwok,
thanks for the patch; looks quite good, but I have a couple of remarks:
Kwok Cheung Yeung wrote:
Date: Sat, 3 May 2025 20:24:26 +
Subject: [PATCH 02/11] openmp: Add support for iterators in map clauses
(C/C++)
This adds preliminary support for iterators in map clauses within Op