[PATCH] D96524: [OpenCL] Add support of OpenCL C 3.0 __opencl_c_fp64
Anton Zabaznov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 11 09:57:46 PST 2021
azabaznov created this revision.
azabaznov added reviewers: Anastasia, svenvh.
Herald added subscribers: kerbowa, jfb, yaxunl, nhaehnle, jvesely, jholewinski.
azabaznov requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
There already exists cl_khr_fp64 extension. So OpenCL C 3.0
and higher should use the feature, earlier versions still use the extension.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96524
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Basic/OpenCLOptions.h
clang/lib/Basic/OpenCLOptions.cpp
clang/lib/Basic/TargetInfo.cpp
clang/lib/Basic/Targets/AMDGPU.h
clang/lib/Basic/Targets/NVPTX.h
clang/lib/Headers/opencl-c.h
clang/lib/Sema/Sema.cpp
clang/lib/Sema/SemaChecking.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/CodeGenOpenCL/printf.cl
clang/test/SemaOpenCL/opencl-fp64-feature.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96524.323064.patch
Type: text/x-patch
Size: 114358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210211/ac9bf71d/attachment-0001.bin>
More information about the cfe-commits
mailing list