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

Reply via email to