]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix loop-dim-default.c testcase for AMD GCN
authorKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 21 May 2020 20:43:13 +0000 (13:43 -0700)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 22 Apr 2021 17:14:24 +0000 (10:14 -0700)
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.

libgomp/ChangeLog.omp
libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c

index 8b27fcf9cfff9615bda6fc6e3300b2dfc8e7a428..1616078db6f5aaa60af6455cda74d03e25b0d2c7 100644 (file)
@@ -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
index e3114c2391923d04bb70445d7313eea504b2b612..ddf0a29d3049f577e0f3a4663cc827c8f8b93144 100644 (file)
@@ -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.  */