[PATCH] D24666: [OpenCL] Allow half type kernel argument when cl_khr_fp16 is enabled

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 19 10:18:17 PDT 2016


yaxunl marked 6 inline comments as done.

================
Comment at: lib/Sema/SemaDecl.cpp:7600
@@ +7599,3 @@
+    // Do not diagnose half type since it is diagnosed as invalid argument
+    // type for any function eleswhere.
+    if (!PT->isHalfType())
----------------
Anastasia wrote:
> -> elsewhere
I will fix it in commit.


https://reviews.llvm.org/D24666





More information about the cfe-commits mailing list