Scale down libgomp.graphite/force-parallel-6.c

2015-03-27  Tom de Vries  <tom@codesourcery.com>

	PR testsuite/65594
	* testsuite/libgomp.graphite/force-parallel-6.c (M): Define.
	(foo): Use M for non-inner loops to scale down test-case.

From-SVN: r221727
This commit is contained in:
Tom de Vries 2015-03-27 12:10:07 +00:00 committed by Tom de Vries
parent 88e7d85fba
commit 4d688c9a17
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2015-03-27 Tom de Vries <tom@codesourcery.com>
PR testsuite/65594
* testsuite/libgomp.graphite/force-parallel-6.c (M): Define.
(foo): Use M for non-inner loops to scale down test-case.
2015-03-25 Kai Tietz <ktietz@redhat.com>
PR libgomp/64972

View File

@ -1,4 +1,5 @@
#define N 500
#define M 50
int X[2*N], Y[2*N], B[2*N];
int A[2*N][2*N], C[2*N][2*N];
@ -7,10 +8,10 @@ int foo(void)
{
int i, j, k;
for (i = 0; i < N; i++)
for (i = 0; i < M; i++)
{
X[i] = Y[i] + 10;
for (j = 0; j < N; j++)
for (j = 0; j < M; j++)
{
B[j] = A[j][N];
for (k = 0; k < N; k++)