Re: open cl newbee
Posted by
Michael Bien on
Aug 01, 2010; 5:55pm
URL: https://forum.jogamp.org/open-cl-newbee-tp1013279p1013718.html
Hi,
OpenCL is all about parallelism. If you manage to shape your problem
in a way that most of your work can be executed independently and
therefore parallel OpenCL might be the right choice.
take a look at the Hello World example and the in-code comments.
http://github.com/mbien/jocl-demos/blob/master/src/com/jogamp/opencl/demos/hellojocl/HelloJOCL.java
http://github.com/mbien/jocl-demos/blob/master/src/com/jogamp/opencl/demos/hellojocl/VectorAdd.cl
regards,
michael
On 08/01/2010 03:10 PM, w.thumann [via jogamp] wrote:
hi!
i'm very new to opencl and i have some questions. i've developed a
new implementation of a support vector machine in java and now
it's time to speed things up a little bit. ;) unfortunately i have
no experience with opencl and before i start spending time on it,
i'd like to know whether it's of any use to me. in my svm
implementation i use a lot of scalar products of vectors (standard
eucledian) and products of matrices with vectors. but not only in
dimensions of 2, 3 or 4 like in opengl. in fact, the dimension
will be quite big in general (100-1000 and more). now i wonder if
opencl can provide me some speed boost for such calculations.
if yes, what is a good starting point for learning opencl,
especially with jocl. this technology seems to be quite new and
not much tutorials/beginner material can be found on the web. Do
you have any suggestions?
Thanks,
w.thumann