[PATCH] D125970: [amdgpu] Add amdgpu_kernel calling conv attribute to clang

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 24 09:34:06 PDT 2022


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



More information about the cfe-commits mailing list