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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to