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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to