This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PTX] reduce testcase time
- From: Nathan Sidwell <nathan at acm dot org>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 11 Dec 2015 10:55:06 -0500
- Subject: [PTX] reduce testcase time
- Authentication-results: sourceware.org; auth=none
This test can timeout on PTX during execution. Reducing the number of
iterations as-if ptxx was a simulator, resolves that.
nathan
2015-12-11 Nathan Sidwell <nathan@acm.org>
* gcc.dg/pr59605-1.c: Reduce iterations for nvptx.
Index: gcc/testsuite/gcc.dg/pr59605-2.c
===================================================================
--- gcc/testsuite/gcc.dg/pr59605-2.c (revision 231566)
+++ gcc/testsuite/gcc.dg/pr59605-2.c (working copy)
@@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-options "-O2" } */
-/* { dg-additional-options "-DMAX_COPY=1025" { target simulator } } */
+/* { dg-additional-options "-DMAX_COPY=1025" { target { { simulator } || { nvptx-*-* } } } } */
/* { dg-additional-options "-minline-stringops-dynamically" { target { i?86-*-* x86_64-*-* } } } */
#include "pr59605.c"