From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6656 invoked by alias); 25 Jul 2018 15:29:31 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 4903 invoked by uid 89); 25 Jul 2018 15:29:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:847 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 25 Jul 2018 15:29:29 +0000 Received: from svr-orw-mbx-01.mgc.mentorg.com ([147.34.90.201]) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1fiLjC-0001xR-IH from Cesar_Philippidis@mentor.com ; Wed, 25 Jul 2018 08:29:26 -0700 Received: from m3800.philippidis.net (147.34.91.1) by svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 25 Jul 2018 08:29:24 -0700 From: Cesar Philippidis To: , Subject: [PATCH 0/3] Add OpenACC diagnostics to -fopt-info-note-omp Date: Wed, 25 Jul 2018 15:29:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2018-07/txt/msg01549.txt.bz2 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. Cesar