Results 1 to 3 of 3

Thread: About the section "OpenCL in Action by Matthew Scarpino"

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Lightbulb About the section "OpenCL in Action by Matthew Scarpino"

    Using GPU for computations is very hot topic today, and ThinBASIC allows you to unleash the power of graphic card thanks to OpenCL headers, converted from Khronos C original.

    Headers are one thing, understanding and ability to use the OpenCL technology other. After some years of search I found an excellent book on this technology, which leads you step by step, with lots of examples and good explanations.

    The book is titled: "OpenCL in action" and written by Matthew Scarpino.

    I decided to convert the C examples from this book to ThinBASIC, to both demonstrate that conjunction of interpreters and high performance computing are not an oxymoron at all and to bring this publication a bit more into focus, because good learning books written with passion are very, very rare.

    For the start I will publish each example in own thread, so we can discuss it more easily and to group possible derivative works in one stream, to see, where the OpenCL adventure will lead us...

    Fasten your seatbelts, plug the GPUs well in the PCI-E slots, here comes the OpenCL


    Petr
    Last edited by Petr Schreiber; 18-09-2012 at 20:17.
    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
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404
    Thanks Petr, looking forward to seeing how opencl works. The little I looked, it is scary! Scary enough, that it made shaders look easy

  3. #3
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732
    OpenCL caused me a lot of gray hair when I started working with it back in 2010. It was in time drivers were buggy so I even learned some bad habits, because functions didn't work according to specs.

    Going through this book in 2012 is very pleasant on the other side - it goes from simple stuff to more complex without big jumps, so you can understand what does what and why very easily.

    The example from chapter 1 might look overhelming, but it is important to give overall idea.

    Starting from chapter 2 examples it goes from absolute basics, so it should be easy to follow.

    The best is to get the book, it is really well written. I will try to comment the examples more too, but of course I cannot cite the whole book, that would get me in legal issues quite fast I am afraid


    Petr
    Last edited by Petr Schreiber; 19-09-2012 at 08:48.
    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

Similar Threads

  1. Example: Section 7.7 (pages 222-224) Explorations with the Mandelbrot Set
    By sblank in forum ThinBASIC programming in OpenGL/TBGL
    Replies: 35
    Last Post: 29-12-2023, 13:23
  2. Example: Section 8.2 (page 261), A little Gravity!
    By Michael Clease in forum ThinBASIC programming in OpenGL/TBGL
    Replies: 1
    Last Post: 27-02-2010, 03:59
  3. new messages section
    By zak in forum Shout Box Area
    Replies: 3
    Last Post: 19-12-2008, 19:15
  4. TBJ: little section for next issue
    By ErosOlmi in forum Suggest new articles
    Replies: 2
    Last Post: 27-07-2008, 09:12
  5. thinBasic web site: download section
    By ErosOlmi in forum Web and Forum
    Replies: 0
    Last Post: 10-05-2008, 10:10

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
  •