Results 1 to 5 of 5

Thread: OpenCL syntax highlighting

  1. #1
    Email address no longer exists
    Join Date
    Sep 2009
    Posts
    35

    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
    Code :
    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
    Code :
    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.

  2. #2
    Email address no longer exists
    Join Date
    Sep 2009
    Posts
    35

    Re: OpenCL syntax highlighting: PSPad

    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!

  3. #3

    Re: OpenCL syntax highlighting

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

  4. #4
    Email address no longer exists
    Join Date
    Sep 2009
    Posts
    35

    Re: OpenCL syntax highlighting

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

  5. #5
    Junior Member
    Join Date
    Aug 2010
    Posts
    1

    Re: OpenCL syntax highlighting

    Info: it's an early version, more stuff to come.
    Is there any update?

Similar Threads

  1. OpenCL function syntax
    By Executor in forum OpenCL - parallel programming of heterogeneous systems
    Replies: 2
    Last Post: 11-01-2009, 08:24 AM
  2. OpenCL syntax highlighting
    By jbasic in forum OpenCL - parallel programming of heterogeneous systems
    Replies: 3
    Last Post: 01-01-1970, 12:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •