[PATCH] D104858: [OpenCL][ARM] Fix ICE when compiling a kernel
Stuart Brady via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 26 13:33:05 PDT 2021
stuart added a comment.
> Unfortunately I cannot look at this in detail right now, but I'll reply quickly for a heads up: The problem was not how to detect kernels, but the ABI/CC mismatch to the
> clSetKerneArg() with (user facing) arguments that get split to multiple args or vice versa. E.g. x86 ABI had a CC where 2xfloat gets to 1xdouble in the generated function
> finger print, thus there was no 1:1 match of the kernel arguments to the OpenCL-facing ones (making clSetKernelArg calls difficult to implement robustly).
Could you not just use libffi?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104858/new/
https://reviews.llvm.org/D104858
More information about the cfe-commits
mailing list