r276979 - [OpenMP][CUDA] Do not forward OpenMP flags for CUDA device actions.
Hans Wennborg via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 28 10:10:00 PDT 2016
Should we merge this to 3.9?
Cheers,
Hans
On Thu, Jul 28, 2016 at 7:29 AM, Samuel Antao via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> Author: sfantao
> Date: Thu Jul 28 09:29:18 2016
> New Revision: 276979
>
> URL: http://llvm.org/viewvc/llvm-project?rev=276979&view=rev
> Log:
> [OpenMP][CUDA] Do not forward OpenMP flags for CUDA device actions.
>
> Summary:
> This patch prevents OpenMP flags from being forwarded to CUDA device commands. That was causing the CUDA frontend to attempt to emit OpenMP code which is not supported.
>
> This fixes the bug reported in https://llvm.org/bugs/show_bug.cgi?id=28723.
>
> Reviewers: hfinkel, carlo.bertolli, arpith-jacob, kkwli0, tra, ABataev
>
> Subscribers: caomhin, cfe-commits
>
> Differential Revision: https://reviews.llvm.org/D22895
>
> Added:
> cfe/trunk/test/Driver/offloading-interoperability.c
> Modified:
> cfe/trunk/lib/Driver/Tools.cpp
More information about the cfe-commits
mailing list