OpenCL syntax highlighting

I’ve made an OpenCL language file for the SciTe text editor to ease the writing of OpenCL programs.

http://isph.sourceforge.net/opencl.properties
http://isph.sourceforge.net/opencl.api

Installation

  • Copy opencl.properties to SciTe install dir.
  • At the end of Scite global properties (SciTEGlobal.properties) add the next line
import opencl
  • (if you want to use auto completition for the OpenCL functions) copy opencl.api to SciTe install dir
  • At the end of Scite global properties (SciTEGlobal.properties) add the next line
api.$(file.patterns.opencl)=$(SciteDefaultHome)\opencl.api

Now your SciTe will color .cl and .ocl files; enjoy writing OpenCL code!

Info: it’s an early version, more stuff to come.

Made also PSPad language file:

Download
http://isph.sourceforge.net/OpenCL.INI
http://isph.sourceforge.net/OpenCL-coloring.INI

Installation

  • copy OpenCL.INI to PSPad/Syntax dir
  • run PSPad->Settings->Highlighters Settings and assing new highlighter from User Highlighters list
  • if you want the coloring, copy OpenCL-coloring.INI to PSPad/Colors dir and load it from OpenCL

Info

  • No auto-completition help for functions yet like SciTe version has

Now your PSPad will color .cl and .ocl files; enjoy writing OpenCL code!

The “Toolkits, SDKs, wrappers, libraries” forum would probably more appropriate for such topic:
viewforum.php?f=40

Yes, probably.
When I opened the thread I think forum sub-categories didn’t exist hmm.

Info: it’s an early version, more stuff to come.

Is there any update?