Fix nvptx-specific '-foffload-options' syntax in 'libgomp.c/reverse-offload-sm30.c'
That is, '-mptx=_' is only valid in '-foffload-options=nvptx-none', too. Fix test case added in recent commit r13-2625-g6b43f556f392a7165582aca36a19fe7389d995b2 "nvptx/mkoffload.cc: Warn instead of error when reverse offload is not possible". libgomp/ * testsuite/libgomp.c/reverse-offload-sm30.c: Fix nvptx-specific '-foffload-options' syntax.
This commit is contained in:
parent
46a8e017d0
commit
b61796663b
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do link { target { offload_target_nvptx } } } */
|
||||
/* { dg-additional-options "-foffload-options=nvptx-none=-march=sm_30 -foffload=-mptx=_" } */
|
||||
/* { dg-additional-options "-foffload-options=nvptx-none=-march=sm_30 -foffload-options=nvptx-none=-mptx=_" } */
|
||||
|
||||
#pragma omp requires reverse_offload
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue