PDA

View Full Version : OpenCL syntax highlighting



jbasic
09-06-2009, 02:38 PM
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)\op encl.api

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

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

jbasic
10-06-2009, 04:47 AM
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!

Groovounet
10-08-2009, 11:57 AM
The "Toolkits, SDKs, wrappers, libraries" forum would probably more appropriate for such topic:
viewforum.php?f=40 (http://www.khronos.org/message_boards/viewforum.php?f=40)

jbasic
10-08-2009, 12:55 PM
Yes, probably.
When I opened the thread I think forum sub-categories didn't exist hmm.

kbzowski
08-31-2010, 08:42 AM
Info: it's an early version, more stuff to come.

Is there any update?