diff --git a/Tests/parallel_create_zero.c b/Tests/parallel_create_zero.c index 33c88e7..8d4503a 100644 --- a/Tests/parallel_create_zero.c +++ b/Tests/parallel_create_zero.c @@ -12,7 +12,7 @@ int Test1(){ b[x] = 0.0; } - #pragma acc data copyin(a[0:n]) copyout(b[0:n] + #pragma acc data copyin(a[0:n]) copyout(b[0:n]) { #pragma acc parallel create(zero: b[0:n]) { @@ -40,11 +40,11 @@ int main(){ #ifndef T1 failed = 0; for (int x = 0; x < NUM_TEST_CALLS; ++x){ - failed = failed + test1(); + failed = failed + Test1(); } if (failed != 0){ failcode = failcode + (1 << 0); } #endif return failcode; -} \ No newline at end of file +} diff --git a/Tests/parallel_create_zero.cpp b/Tests/parallel_create_zero.cpp index 8464874..323216c 100644 --- a/Tests/parallel_create_zero.cpp +++ b/Tests/parallel_create_zero.cpp @@ -12,7 +12,7 @@ int Test1(){ b[x] = 0.0; } - #pragma acc data copyin(a[0:n]) copyout(b[0:n] + #pragma acc data copyin(a[0:n]) copyout(b[0:n]) { #pragma acc parallel create(zero: b[0:n]) { @@ -40,11 +40,11 @@ int main(){ #ifndef T1 failed = 0; for (int x = 0; x < NUM_TEST_CALLS; ++x){ - failed = failed + test1(); + failed = failed + Test1(); } if (failed != 0){ failcode = failcode + (1 << 0); } #endif return failcode; -} \ No newline at end of file +}