Petr Schreiber
17-09-2012, 22:10
Using GPU for computations is very hot topic today, and ThinBASIC allows you to unleash the power of graphic card thanks to OpenCL headers (http://www.thinbasic.com/community/showthread.php?10159-OpenCL-Headers-Updated-Sep-15-2011), 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" (http://www.manning.com/scarpino2/) 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
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" (http://www.manning.com/scarpino2/) 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