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

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

Reply via email to