D5621: Install xdg mimetype definitions for OpenCL C & CUDA C

Aaron Puchert noreply at phabricator.kde.org
Thu Apr 27 21:58:31 UTC 2017


aaronpuchert added inline comments.

INLINE COMMENTS

> kossebau wrote in kdevclang.xml:12
> @aaronpuchert, given https://phabricator.kde.org/D5485 this indeed should be "OpenCL C source code", not "OpenCL source code", right?
> 
> If so, someone with knowledge should write a patch to fix-up the entry in shared-mime-info, which is without the "C": https://cgit.freedesktop.org/xdg/shared-mime-info/commit/?id=4ab969c398671c519a10a601ad3eeb46f04361de

Yes, that is the official name <https://www.khronos.org/registry/OpenCL/specs/opencl-2.0-openclc.pdf> of the language. I'd also argue that the mime type should be `text/x-opencl-csrc`.

The reason being that there is also OpenCL C++ <https://www.khronos.org/registry/OpenCL/specs/opencl-2.2-cplusplus.pdf> (since OpenCL 2.1 <https://en.wikipedia.org/wiki/OpenCL#OpenCL_2.1>), though that is not yet supported by Clang.

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D5621

To: kossebau, #kdevelop, qi437103, aaronpuchert
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170427/7bdb3dbc/attachment.html>


More information about the KDevelop-devel mailing list