[gcc r12-1281] [nvptx] Update comment in 'libgomp.oacc-c-c++-common/parallel-dims.c'

Thomas Schwinge tschwinge@gcc.gnu.org
Tue Jun 8 09:09:07 GMT 2021


https://gcc.gnu.org/g:e64d62c7008e6a4b0227fd25e071db8f0b3f1820

commit r12-1281-ge64d62c7008e6a4b0227fd25e071db8f0b3f1820
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Sat Jun 5 22:01:48 2021 +0200

    [nvptx] Update comment in 'libgomp.oacc-c-c++-common/parallel-dims.c'
    
    Small fix-up for r267889 (commit 2b9d9e393766d2fa6e2dd5f361d0db14872cf261)
    "[nvptx] Enable large vectors":
    
    >       * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Expect vector
    >       length 2097152 to be reduced to 1024 instead of 32.
    
            libgomp/
            * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c
            <acc_device_nvidia>: Update comment.

Diff:
---
 libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-dims.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-dims.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-dims.c
index ef4917aafff..ef3dfda5fa5 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-dims.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-dims.c
@@ -385,7 +385,7 @@ int main ()
 	}
       else if (acc_on_device (acc_device_nvidia))
 	{
-	  /* The GCC nvptx back end enforces vector_length (32).  */
+	  /* The GCC nvptx back end reduces to vector_length (1024).  */
 	  vectors_actual = 1024;
 	}
       else if (acc_on_device (acc_device_radeon))


More information about the Gcc-cvs mailing list