Need Help for Adding support for cuda and opencl

Aleix Pol aleixpol at kde.org
Fri Sep 20 12:47:15 UTC 2013


On Wed, Sep 18, 2013 at 1:15 AM, Black <tianshu.yi at qq.com> wrote:

> Hello everyone,
> I am a old user of kdevelop , and now i am writing some programs using
> cuda c or opencl, they are based on c or c++. I had changed the cpp.xml
> and the c.xml located at "/usr/share/kde4/apps/katepart/syntax/" to
> highlight the syntax in *.cu, *cuh and *.cl. Howerver, the kdevelop
> still doesn't parse the these file.
> Is there some codes should be changed in the kdevelp project? Where
> could i begin with ? I spent a whole night but i doesn't get the location.
> Thanks for your help.
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kdevelop-devel
>

Hi!
What do you want exactly? Do you want the C++ parser on cuda files? I'm
unsure if that would be compatible.

If you want to try so, you can add new mimetypes for cuda
in kdevcppsupport.desktop.cmake.

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130920/be8164ce/attachment.html>


More information about the KDevelop-devel mailing list