[Bug target/85486] [og7, nvptx] ref-1.C fails with vector length 128

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 23 09:30:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85486

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=708bb8f7b274553d29242a2d28684b2bc5e734bb
:
...
[nvptx] Force vl32 if calling vector-partitionable routines

2018-04-23  Tom de Vries  <tom@codesourcery.com>

PR target/85486
* omp-offload.c (oacc_fn_attrib_level): Remove static.
* omp-offload.h (oacc_fn_attrib_level): Declare.
* config/nvptx/nvptx.c (has_vector_partitionable_routine_calls_p): New
function.
(nvptx_goacc_validate_dims): Force vector length 32 if offloading
function calls vector-partitionable routines.

* testsuite/libgomp.oacc-c-c++-common/pr85486-2.c: New test.
* testsuite/libgomp.oacc-c-c++-common/pr85486-3.c: New test.
* testsuite/libgomp.oacc-c-c++-common/pr85486.c: New test.
...

Patch with test-cases committed. Marking resolved-fixed.


More information about the Gcc-bugs mailing list