[PATCH] D46501: OpenCL Header: Guard all half float usage based on cl_khr_fp16 extension
Jerry Crunchtime via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun May 6 03:42:34 PDT 2018
jerryct created this revision.
Herald added subscribers: cfe-commits, Anastasia, yaxunl.
Hi,
this patch guards all missed half float functions based on the availabiltiy of the OpenCL extension cl_khr_fp16.
Best regards,
Jerry
Repository:
rC Clang
https://reviews.llvm.org/D46501
Files:
lib/Headers/opencl-c.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46501.145397.patch
Type: text/x-patch
Size: 5439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180506/01eed30e/attachment.bin>
More information about the cfe-commits
mailing list