For anyone who use Kate/Kdevelop to write CUDA application files, I wrote a simple XML file to be added to the others already existing.
This is a very first version. I added different CUDA contexts to be personalized:
- data types
- keywords
- automatic variables
- atomic functions
- device functions
- runtime API functions
- driver API functions
- kernel launch <<< >>>
Colors and styles are pseudo-random for now.
There are many other things to be further added, like constants values, error codes, and so on so forth…
Save the attached file to your home/.kde/share/apps/katepart/syntax/ (or /usr/share/apps/katepart/syntax/, or to a different folder depending on your distribution) to go!
You can find the file also here: [url=“http://www.ce.unipr.it/people/mussi/downloads/CUDA/c_CUDA_2.1.xml”]http://www.ce.unipr.it/people/mussi/downlo.../c_CUDA_2.1.xml[/url]
Any comment or suggestion is very welcome!
Please don’t hesitate to reply with any of them.
Enjoy!
c_CUDA_2.1.xml (22 KB)