[PATCH] D53705: [OpenCL] Postpone PSV address space diagnostic
Ronan Keryell via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 2 12:59:00 PDT 2018
keryell added a comment.
In https://reviews.llvm.org/D53705#1285096, @rjmccall wrote:
>
> If your plan is to compile code for the CPU with a normal C++ compiler but for the GPU with an OpenCL-aware compiler, you are going to have significantly divergent behavior between the CPU and GPU language dialects because of the non-standardness of the GPU dialect.
We are trying to minimize the divergence. Thus the use of conditional tense and *mostly" word in the sentence "could mostly run on a CPU without a specific compiler", as a wishful thinking design trade-off, trying to minimize the rewriting a user has to do starting from a plain C++ function.
Probably we can discuss this next week off-line during a ISO C++ SG14 or SG1 session...
Repository:
rC Clang
https://reviews.llvm.org/D53705
More information about the cfe-commits
mailing list