yaxunl added a comment.

In http://reviews.llvm.org/D21367#467982, @nhaustov wrote:

> In http://reviews.llvm.org/D21367#467894, @yaxunl wrote:
>
> > I am wondering what's the difference between this calling convention and 
> > spir_kernel.
>
>
> spir_kernel has only effect and was created only for SPIR target. In theory 
> it could perhaps be reused for AMDGPU target, however it seems not very clear 
> to me.


If the new calling convention is to indicate a function is an OpenCL kernel, 
then it has exactly the same meaning as spir_kernel. Can we just use it in 
AMDGPU target?


http://reviews.llvm.org/D21367



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

Reply via email to