79680c1d5c
Avoid code duplication, and better test what we expect to happen. libgomp/ PR target/85486 * testsuite/libgomp.oacc-c-c++-common/pr85486-2.c: Simplify and enhance. * testsuite/libgomp.oacc-c-c++-common/pr85486-3.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/pr85486.c: Likewise.
12 lines
516 B
C
12 lines
516 B
C
/* { dg-do run { target openacc_nvidia_accel_selected } } */
|
|
/* { dg-additional-options "-DVECTOR_LENGTH=" } */
|
|
/* { dg-additional-options "-fopenacc-dim=::128" } */
|
|
|
|
/* { dg-additional-options "-foffload=-fdump-tree-oaccdevlow" } */
|
|
/* { dg-set-target-env-var "GOMP_DEBUG" "1" } */
|
|
|
|
#include "pr85486.c"
|
|
|
|
/* { dg-final { scan-offload-tree-dump "__attribute__\\(\\(oacc function \\(1, 1, 32\\)" "oaccdevlow" } } */
|
|
/* { dg-output "nvptx_exec: kernel main\\\$_omp_fn\\\$0: launch gangs=1, workers=1, vectors=32" } */
|