[cfe-dev] [RFC] OpenCL: allow half type as kernel argument type when cl_khr_fp16 is enabled

Liu, Yaxun (Sam) via cfe-dev cfe-dev at lists.llvm.org
Thu Sep 15 09:45:39 PDT 2016


Currently Clang does not allow half type as kernel argument type even when cl_khr_fp16 is enabled, which does not make sense since when cl_khr_fp16 is enabled, half type is a valid type for function argument and it has platform independent size.

We have a patch to allow half type as kernel argument when cl_khr_fp16 is enabled. I am wondering if I can upstream it.

Thanks.

Sam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 11178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160915/017b7e46/attachment.bin>


More information about the cfe-dev mailing list