public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/67822] New: OpenMP offloading to nvptx fails
@ 2015-10-02 18:42 tschwinge at gcc dot gnu.org
2015-10-02 19:28 ` [Bug target/67822] " tschwinge at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2015-10-02 18:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67822
Bug ID: 67822
Summary: OpenMP offloading to nvptx fails
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Keywords: openmp
Severity: enhancement
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: tschwinge at gcc dot gnu.org
Target Milestone: ---
When nvptx offloading linking is enabled (but that just exposes the problem,
doesn't cause it), we see lot of OpenMP offloading test cases fail as follows,
for example, libgomp/testsuite/libgomp.c/examples-4/async_target-1.c:
ptxas /tmp/ccwcheo3.o, line 117; error : Instruction 'kernel function
address' requires .target sm_35 or higher
ptxas fatal : Ptx assembly aborted due to errors
nvptx-as: ptxas returned 255 exit status
mkoffload: fatal error:
[...]/build-gcc/gcc/x86_64-pc-linux-gnu-accel-nvptx-none-gcc returned 1 exit
status
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/67822] OpenMP offloading to nvptx fails
2015-10-02 18:42 [Bug target/67822] New: OpenMP offloading to nvptx fails tschwinge at gcc dot gnu.org
@ 2015-10-02 19:28 ` tschwinge at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2015-10-02 19:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67822
--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Fri Oct 2 19:27:30 2015
New Revision: 228414
URL: https://gcc.gnu.org/viewcvs?rev=228414&root=gcc&view=rev
Log:
[PR target/67822] OpenMP offloading to nvptx fails
gcc/
PR target/67822
* config/nvptx/mkoffload.c (main): Scan the argument vector for
-fopenmp, and skip generating an offloading image if specified.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/nvptx/mkoffload.c
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-02 19:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-02 18:42 [Bug target/67822] New: OpenMP offloading to nvptx fails tschwinge at gcc dot gnu.org
2015-10-02 19:28 ` [Bug target/67822] " tschwinge at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).