This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PTX] reduce testcase time


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"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]