yaxunl added a comment.

In HIP, kernels are represented by attribute `global` and not by calling 
convention in clang. This may be an alternative.

Another alternative might be merging amdgpu_kernel and opencl_kernel calling 
convention since for the same target they are the same. They could be 
represented by the same kernel calling convention in AST.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125970/new/

https://reviews.llvm.org/D125970

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

Reply via email to