public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] Fix loop-dim-default.c testcase for AMD GCN
@ 2021-05-13 16:14 Kwok Yeung
  0 siblings, 0 replies; only message in thread
From: Kwok Yeung @ 2021-05-13 16:14 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:2ed3cde924666d9a34cf0b07ca20423506f5b7b2

commit 2ed3cde924666d9a34cf0b07ca20423506f5b7b2
Author: Kwok Cheung Yeung <kcy@codesourcery.com>
Date:   Thu May 21 13:43:13 2020 -0700

    Fix loop-dim-default.c testcase for AMD GCN
    
    2020-05-21  Kwok Cheung Yeung  <kcy@codesourcery.com>
    
            libgomp/
            * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c (check):
            Change ACC_DEVICE_TYPE_gcn to ACC_DEVICE_TYPE_radeon.

Diff:
---
 libgomp/ChangeLog.omp                                          | 5 +++++
 libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index 8b27fcf9cff..1616078db6f 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,8 @@
+2020-05-21  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+	* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c (check):
+	Change ACC_DEVICE_TYPE_gcn to ACC_DEVICE_TYPE_radeon.
+
 2020-03-24  Kwok Cheung Yeung  <kcy@codesourcery.com>
 
 	* testsuite/libgomp.oacc-c-c++-common/data-firstprivate-1.c: XFAIL
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c
index e3114c23919..ddf0a29d304 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c
@@ -79,7 +79,7 @@ int check (const int *ary, int size, int gp, int wp, int vp)
 	exit = 1;
       }
   
-#ifndef ACC_DEVICE_TYPE_gcn
+#ifndef ACC_DEVICE_TYPE_radeon
   /* AMD GCN uses the autovectorizer for the vector dimension: the use
      of a function call in vector-partitioned code in this test is not
      currently supported.  */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-13 16:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 16:14 [gcc/devel/omp/gcc-11] Fix loop-dim-default.c testcase for AMD GCN Kwok Yeung

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).