[PATCH] D100980: [OpenCL] Allow use of double type without extension pragma

Anton Zabaznov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 23 09:00:33 PDT 2021


azabaznov added a comment.

> We could of course keep it just for this particular case of doubles, but even half is allowed in certain circumstances without the pragma and it is still an extension. https://godbolt.org/z/K34sP81nx

I am confused again... after looking into //OpenCL C 1.0, 9.10 Half Floating-Point//: it says that pragma is required too. So is it a bug in clang implementation are do you prefer keep existing functionality for double?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100980/new/

https://reviews.llvm.org/D100980



More information about the cfe-commits mailing list