[PATCH] D46501: [OpenCL] Guard all half float usage based on cl_khr_fp16 extension

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 7 08:27:58 PDT 2018


yaxunl added a comment.

Only halfn type requires cl_khr_fp16. These functions do not use halfn type, therefore cl_khr_fp16 is not required.


Repository:
  rC Clang

https://reviews.llvm.org/D46501





More information about the cfe-commits mailing list