]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix execution error in loop-dim-default.c test running on AMD GCN
authorKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 5 Mar 2020 21:20:55 +0000 (13:20 -0800)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 9 Jun 2020 22:32:01 +0000 (15:32 -0700)
2020-03-05  Kwok Cheung Yeung  <kcy@codesourcery.com>

libgomp/
* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c (main):
Allow use of workers on AMD GCN.

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

index bf3996d98bc14fc89ddb9b633d7fa2d6b912c76b..420e483c19eeaff00fd0197c80c19728b0c1bdc7 100644 (file)
@@ -1,3 +1,8 @@
+2020-03-05  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c (main):
+       Allow use of workers on AMD GCN.
+
 2020-03-02  Kwok Cheung Yeung  <kcy@codesourcery.com>
 
        * testsuite/libgomp.oacc-c-c++-common/loop-w-1.c (main): Add
index 040047d0c77ed198e5edb0cf6db6fcf049bba44b..e3114c2391923d04bb70445d7313eea504b2b612 100644 (file)
@@ -137,9 +137,7 @@ int main ()
   /* 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.  */
-  /* AMD GCN does not currently support multiple workers.  This should be
-     set to 16 when that changes.  */
-  return test_1 (16, 1, 1);
+  return test_1 (16, 16, 64);
 #else
   return test_1 (16, 16, 32);
 #endif