aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2021-06-05 22:01:48 +0200
committerThomas Schwinge <thomas@codesourcery.com>2021-06-08 11:06:30 +0200
commite64d62c7008e6a4b0227fd25e071db8f0b3f1820 (patch)
tree194e164416fbf81e1b9c14e919e18230042e7a61
parentffe3a37f54ab866d85bdde48c2a32be5e09d8515 (diff)
downloadgcc-e64d62c7008e6a4b0227fd25e071db8f0b3f1820.zip
gcc-e64d62c7008e6a4b0227fd25e071db8f0b3f1820.tar.gz
gcc-e64d62c7008e6a4b0227fd25e071db8f0b3f1820.tar.bz2
[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.
-rw-r--r--libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-dims.c2
1 files changed, 1 insertions, 1 deletions
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 ef4917a..ef3dfda 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))