public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Kwok Yeung <kcy@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/omp/gcc-12] Fix up 'libgomp.fortran/use_device_addr-5.f90' multi-device testing Date: Wed, 29 Jun 2022 14:47:37 +0000 (GMT) [thread overview] Message-ID: <20220629144737.536AD3858D3C@sourceware.org> (raw) https://gcc.gnu.org/g:270bfaf9addc79163a7f170e8da01c2579bc5a5f commit 270bfaf9addc79163a7f170e8da01c2579bc5a5f Author: Thomas Schwinge <thomas@codesourcery.com> Date: Tue May 10 14:43:56 2022 +0200 Fix up 'libgomp.fortran/use_device_addr-5.f90' multi-device testing Fix-up for recent commit r13-116-g3f8c389fe90bf565a6221a46bb7fb745dd4c1510 "OpenMP: Fix use_device_{addr,ptr} with in-data-sharing arg", where we currently get: libgomp: use_device_ptr pointer wasn't mapped FAIL: libgomp.fortran/use_device_addr-5.f90 -O execution test libgomp/ * testsuite/libgomp.fortran/use_device_addr-5.f90: Fix up multi-device testing. (cherry picked from commit 798152475559a6be8049692932cc747c6499e7f5) Diff: --- libgomp/ChangeLog.omp | 8 ++++++++ libgomp/testsuite/libgomp.fortran/use_device_addr-5.f90 | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp index d8a7ac2c8ef..b5557c5e951 100644 --- a/libgomp/ChangeLog.omp +++ b/libgomp/ChangeLog.omp @@ -1,3 +1,11 @@ +2022-05-10 Thomas Schwinge <thomas@codesourcery.com> + + Backport from mainline: + 2022-05-10 Thomas Schwinge <thomas@codesourcery.com> + + * testsuite/libgomp.fortran/use_device_addr-5.f90: Fix up + multi-device testing. + 2022-05-06 Marcel Vollweiler <marcel@codesourcery.com> Backport from mainline: diff --git a/libgomp/testsuite/libgomp.fortran/use_device_addr-5.f90 b/libgomp/testsuite/libgomp.fortran/use_device_addr-5.f90 index 1def70a1bc0..3124d60fe9b 100644 --- a/libgomp/testsuite/libgomp.fortran/use_device_addr-5.f90 +++ b/libgomp/testsuite/libgomp.fortran/use_device_addr-5.f90 @@ -8,7 +8,7 @@ program main aaa(:,:,:) = reshape ([(i, i = 1, size(aaa))], shape(aaa)) do i = 0, omp_get_num_devices() - !$omp target data map(to: aaa) + !$omp target data map(to: aaa) device(i) call test_addr (aaa, i) call test_ptr (aaa, i) !$omp end target data
reply other threads:[~2022-06-29 14:47 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=20220629144737.536AD3858D3C@sourceware.org \ --to=kcy@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).