<table><tr><td style="">aaronpuchert added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D5621" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>By the way, I posted the question to Khronos. <a href="https://www.khronos.org/about/technical-support/" class="remarkup-link" target="_blank" rel="noreferrer">Their preferred channel</a> seems to be opening an issue on one of their GitHub repositories. So I opened issue <a href="https://github.com/KhronosGroup/OpenCL-Registry/issues/27" class="remarkup-link" target="_blank" rel="noreferrer">#27</a> at the <a href="https://github.com/KhronosGroup/OpenCL-Registry" class="remarkup-link" target="_blank" rel="noreferrer">OpenCL Registry</a>. However, I do not expect an answer. From Khronos' point of view OpenCL source code is just a string in memory. Compiling OpenCL directly from file is not possible. (As far as I know the API.)</p>

<p>I'm not sure there will ever be a standard type. Not even for C there is: while <tt style="background: #ebebeb; font-size: 13px;">shared-mime-info</tt> defines it as <tt style="background: #ebebeb; font-size: 13px;">text/x-csrc</tt>, I get <tt style="background: #ebebeb; font-size: 13px;">text/x-c</tt> when running <tt style="background: #ebebeb; font-size: 13px;">file -i</tt> on a C source file.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>BRANCH</strong><div><div>addcudaopenclmimetypes</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5621" rel="noreferrer">https://phabricator.kde.org/D5621</a></div></div><br /><div><strong>To: </strong>kossebau, KDevelop, qi437103, aaronpuchert, kfunk<br /><strong>Cc: </strong>nalvarez, kdevelop-devel<br /></div>