Petr Schreiber
04-09-2011, 18:13
Matthew Scarpino wrote very good article as introduction to OpenCL:
http://drdobbs.com/high-performance-computing/231002854?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 (http://www.thinbasic.com/community/showthread.php?10159-OpenCL-Headers-Updated-Sep-04-2011).
Petr
http://drdobbs.com/high-performance-computing/231002854?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 (http://www.thinbasic.com/community/showthread.php?10159-OpenCL-Headers-Updated-Sep-04-2011).
Petr