Results 1 to 3 of 3

Thread: OpenCL Kernel Code Decorator [Updated Sep 04 2011]

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Brno - Czech Republic
    Rep Power

    OpenCL Kernel Code Decorator [Updated Sep 04 2011]

    OpenCL is powerful technology, but it has one problem - it takes many lines of code to just setup the computation. To target this obstacle, thinBasic OpenCL headers offer some high level functionality and as a bonus, here comes the OpenCL Kernel Code Decorator tool.
    Now remastered and OpenCL 1.1 headers ready!

    How to use?
    • Start the program
    • Choose .cl file with your OpenCL C kernels
    • Program will detect their names
    • Choose for which kernel you wish to generate code
    • Hit generate
    • Program will generate for you code template, with prepaired bindings to kernel parameters and other automagically detected features
    • Generated code is 100% of code needed to run your computation, but you need of course to add few lines of code to specify the data passed

    I wish it serves you well!,
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Petr Schreiber; 04-09-2011 at 17:54.
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  2. #2

    Re: OpenCL Kernel Code Decorator

    Thanks Petr,

    I think it will take about four years before most desktops have the hardware to do generic parallel computing on the GPU. I think double precision maths is necessary for this to come about, and only the latest generation of video cards have this ability.

    It would be great if this parallelism could be tightly integrated in to basic. It could be done almost transparently if the interpreter/compiler could identify parallel situations - iteratively processing large arrays for instance.


  3. #3
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Naples, Florida & Duluth, Georgia
    Rep Power

    Re: OpenCL Kernel Code Decorator

    You are a brave guy Petr taking on OpenCL.
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

Similar Threads

  1. Replies: 17
    Last Post: 21-02-2010, 07:45

Members who have read this thread: 0

There are no members to list at the moment.

Tags for this Thread

Posting Permissions

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