[OpenCL] Allow half type kernel argument when cl_khr_fp16 is enabled
authorYaxun Liu <Yaxun.Liu@amd.com>
Mon, 19 Sep 2016 17:11:22 +0000 (17:11 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Mon, 19 Sep 2016 17:11:22 +0000 (17:11 +0000)
commit13934c8542330d2d6e127c413afbf9d82d46f07f
treea56f3f0f99f674cfef9ffa83163a100fb0780c0c
parentd121635fd911d2fc185baecf32ab9f02d60bdeb2
[OpenCL] Allow half type kernel argument when cl_khr_fp16 is enabled

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281915 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaOpenCL/half.cl
test/SemaOpenCL/invalid-kernel-parameters.cl