public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-1289] Fix 'libgomp.oacc-c-c++-common/acc_prof-kernels-1.c' for 'acc_device_radeon' Date: Tue, 8 Jun 2021 09:38:19 +0000 (GMT) [thread overview] Message-ID: <20210608093819.58FA23844051@sourceware.org> (raw) https://gcc.gnu.org/g:984df1e1630f262d782c00cefad2643b8e8469f8 commit r12-1289-g984df1e1630f262d782c00cefad2643b8e8469f8 Author: Thomas Schwinge <thomas@codesourcery.com> Date: Sun Jun 6 10:41:18 2021 +0200 Fix 'libgomp.oacc-c-c++-common/acc_prof-kernels-1.c' for 'acc_device_radeon' ... on top of r279378 (commit 26b74ed0223d108d7d7818c3c860f20cfe81a4af) "Update OpenACC tests for amdgcn". libgomp/ * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: Fix for 'acc_device_radeon'. Diff: --- libgomp/testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c index ad33f72e2fb..7f74ee922b7 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c @@ -93,6 +93,11 @@ static void cb_enqueue_launch_start (acc_prof_info *prof_info, acc_event_info *e } if (num_workers < 1) assert (event_info->launch_event.num_workers >= 1); + /* GCN currently enforces 'num_workers (1)'. */ + else if (acc_device_type == acc_device_radeon + /*TODO ... just not in the "Parallelism dimensions: variable" case. */ + && /*TODO*/ num_gangs != 22) + assert (event_info->launch_event.num_workers == 1); else { #ifdef __OPTIMIZE__
reply other threads:[~2021-06-08 9:38 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210608093819.58FA23844051@sourceware.org \ --to=tschwinge@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).