Re: [OpenACC] Enable SIMD vectorization on vector loops

2017-09-14 Thread Jakub Jelinek
On Wed, Sep 13, 2017 at 04:20:32PM -0700, Cesar Philippidis wrote: > 2017-09-13 Cesar Philippidis > > gcc/ > * omp-offload.c (oacc_xform_loop): Enable SIMD vectorization on > non-SIMT targets in acc vector loops. Ok, thanks. Jakub

[OpenACC] Enable SIMD vectorization on vector loops

2017-09-13 Thread Cesar Philippidis
This patch enables SIMD vectorization on non-SIMT targets in acc vector loops. It does does so by setting the force_vectorization flag in a similar manner to OpenMP SIMD loops. Unlike OpenMP, OpenACC provides the compiler with the flexibility to assign gang, worker and vector parallelism to