This is the mail archive of the
mailing list for the GCC project.
[PATCH 0/3] Add OpenACC diagnostics to -fopt-info-note-omp
- From: Cesar Philippidis <cesar at codesourcery dot com>
- To: <gcc-patches at gcc dot gnu dot org>, <jakub at redhat dot com>
- Date: Wed, 25 Jul 2018 08:29:16 -0700
- Subject: [PATCH 0/3] Add OpenACC diagnostics to -fopt-info-note-omp
This patch series extends -fopt-info-note-omp to include OpenACC loop
diagnostics when it is used in conjunction with -fopenacc. At present,
the diagnostics are limited to reporting how OpenACC loops are
partitioned, e.g., seq, gang, worker or vector. The major advantage of
this diagnostics is that it informs the user how GCC automatically
partitions independent loops, i.e., acc loops without any parallelism
clauses inside acc parallel regions. This information provides the
user with insights on how to select num_gangs, num_workers and
vector_length for their application.
All three patches in this series are independent from one
another. Patches 1 and 2 fix diagnostics bugs involving incorrect line
numbers. Patch 3 is responsible for generating the actual diagnostics.