From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 120893 invoked by alias); 21 Feb 2020 14:46:06 -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 120773 invoked by uid 89); 21 Feb 2020 14:45:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy=sk:r10672, sk:r10-672, c_size_t, sk:acc_dev X-HELO: esa3.mentor.iphmx.com Received: from esa3.mentor.iphmx.com (HELO esa3.mentor.iphmx.com) (68.232.137.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 21 Feb 2020 14:45:40 +0000 IronPort-SDR: Q0Sd9H0G8QVhv3+GEABnDS8/5h4Z5r7xAaaYG2dwEwK9SMruZHx5sF5qIbOwF86LJ1ucNCiT3n VxUEX8IOEX490qPR9wQWWMaGq+gCV+5xt677kG37I+9Bn/zGg2vETQiDtXs3nOxIS82jzjBGk6 eg/hfmRmi6/wZS6WJ92zBz8LPnCu048AGsOA21mkgihyc4ZjftdiT3udXgPp0w5jtd2ks4hnUm TWl4La5QDbe9RKl5sSRlnw9HllWFqJH+3X7o0+E0d4h2vx60jCWsMiNUos3wupk0r1UMU5cAQa +t0= Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 21 Feb 2020 06:45:39 -0800 IronPort-SDR: KbOKq86fldhYzhDSatiuYxtn0Sql+30YbLje4b7eakXig5yjz4nvTNe4RaMxM5yH0buVFPy4fW yQ19lmnEJ3E+WkzK1DgclmjclyIpQeEDAzFk/8tUd6dW8mG5+P8hIQnAa4ALr/hLFnSTd8kkaG VmoMRkqeXPmVVC6/qZud8iroZ3lLaXc3Dy1XfILAF3aNBj5tyzmfQZPFvILHgtS7pMuVziZD5g Gc5SKLyikWUoIEMr5V8058kieOVSjQzH9KhD2uyILfxNCGDRak8CAvznB2o47VLDQKhIphD/pD QBY= To: Thomas Schwinge , Tobias Burnus , "Stubbs, Andrew" , Jakub Jelinek , GCC Patches From: "Harwath, Frederik" Subject: [PATCH, committed][OpenACC] Adapt libgomp acc_get_property.f90 test X-Pep-Version: 2.0 Message-ID: <4637edb9-a83f-0f1e-0410-79e8a3907bda@codesourcery.com> Date: Fri, 21 Feb 2020 14:46:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------7CFD52C9F6F55A2B9FC33735" Return-Path: frederik@codesourcery.com X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg01212.txt.bz2 --------------7CFD52C9F6F55A2B9FC33735 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-length: 353 Hi, The commit r10-6721-g8d1a1cb1b816381bf60cb1211c93b8eba1fe1472 has changed the name of the type that is used for the return value of the Fortran acc_get_property function without adapting the test acc_get_property.f90. This obvious patch fixes that problem. Committed as r10-6782-g83d45e1d7155a= 5a600d8a4aa01aca00d3c6c2d3a. Best regards, Frederik --------------7CFD52C9F6F55A2B9FC33735 Content-Type: text/x-patch; charset="UTF-8"; name="0001-Adapt-libgomp-acc_get_property.f90-test.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-Adapt-libgomp-acc_get_property.f90-test.patch" Content-length: 2233 =46rom 83d45e1d7155a5a600d8a4aa01aca00d3c6c2d3a Mon Sep 17 00:00:00 2001 From: Frederik Harwath Date: Fri, 21 Feb 2020 15:26:02 +0100 Subject: [PATCH] Adapt libgomp acc_get_property.f90 test The commit r10-6721-g8d1a1cb1b816381bf60cb1211c93b8eba1fe1472 has changed the name of the type that is used for the return value of the Fortran acc_get_property function without adapting the test acc_get_property.f90. 2020-02-21 Frederik Harwath * testsuite/libgomp.oacc-fortran/acc_get_property.f90: Adapt to changes from 2020-02-19, i.e. use integer(c_size_t) instead of integer(acc_device_property) for the type of the return value of acc_get_property. --- libgomp/ChangeLog | 7 +++++++ .../testsuite/libgomp.oacc-fortran/acc_get_property.f90 | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 3c640c7350b..bff3ae58c9a 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,10 @@ +2020-02-21 Frederik Harwath + + * testsuite/libgomp.oacc-fortran/acc_get_property.f90: Adapt to + changes from 2020-02-19, i.e. use integer(c_size_t) instead of + integer(acc_device_property) for the type of the return value of + acc_get_property. + 2020-02-19 Tobias Burnus =20 * .gitattributes: New; whitespace handling for Fortran's openacc_lib.h. diff --git a/libgomp/testsuite/libgomp.oacc-fortran/acc_get_property.f90 b/= libgomp/testsuite/libgomp.oacc-fortran/acc_get_property.f90 index 80ae292f41f..1af7cc3b988 100644 --- a/libgomp/testsuite/libgomp.oacc-fortran/acc_get_property.f90 +++ b/libgomp/testsuite/libgomp.oacc-fortran/acc_get_property.f90 @@ -26,13 +26,14 @@ end program test ! and do basic device independent validation. subroutine print_device_properties (device_type) use openacc + use iso_c_binding, only: c_size_t implicit none =20 integer, intent(in) :: device_type =20 integer :: device_count integer :: device - integer(acc_device_property) :: v + integer(c_size_t) :: v character*256 :: s =20 device_count =3D acc_get_num_devices(device_type) --=20 2.17.1 --------------7CFD52C9F6F55A2B9FC33735--