[clang] clang: Hack around opencl enqueue_block using wrong ABI for aggregrate (PR #130011)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 6 08:01:23 PST 2025


arsenm wrote:

> Is this PR intended to match the signature of `__enqueue_kernel_basic` defined in device library? e.g.

Yes

> https://github.com/ROCm/llvm-project/blob/amd-staging/amd/device-libs/opencl/src/devenq/enqueue.cl#L172
> 
> Since ndrange_t is passed by value, it becomes pointer to alloca addr space in IR.

Yes, it's passed byref

https://github.com/llvm/llvm-project/pull/130011


More information about the cfe-commits mailing list