Matthew Scarpino wrote very good article as introduction to OpenCL:
http://drdobbs.com/high-performance-...1002854?pgno=1
He provides C code, which I translated to ThinBASIC and attached to this post. So as you can see, when eager to develop cutting edge technologies, C is not the only choice, you can happily use ThinBASIC.
I recommend to read the article first and then download the ThinBASIC example below and examine the code for ideal learning experience.
Important note: The code requires the OpenCL headers.
Petr
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
Thanks for opencl work Petr. I have seen some impressive demos of opencl,but I must admit it is tough to grasp, but your enthusiasm for it and links will keep me chasingafter it.
Bookmarks