[PATCH] D53705: [OpenCL] Postpone PSV address space diagnostic
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 1 11:24:42 PDT 2018
rjmccall added a comment.
In https://reviews.llvm.org/D53705#1284203, @keryell wrote:
> I was really meaning "run on the CPU" and not "run on the GPU", it was not a typo from me. :-)
> If there are no visible language extensions besides C++ classes, it is easier to run the kernel code on a CPU without any specific compiler support, with just a plain C++ compiler and just by changing the runtime to launch the kernel.
> It was part of the design motivation to remove the alien keywords.
> This is even more true with SYCL.
Okay. So the purpose of OpenCL C++ is to provide a non-unified model that allows you to easily run C++ code on the CPU.
Repository:
rC Clang
https://reviews.llvm.org/D53705
More information about the cfe-commits
mailing list