Login  Register

Re: How to queue in a multidevice environment

Posted by Arnold on Mar 12, 2017; 7:40am
URL: https://forum.jogamp.org/How-to-queue-in-a-multidevice-environment-tp4037674p4037770.html

I am studying the code already thanks to earlier hints ;-) I noticed that most of the hlb code is written by Michael Bien. In one of the forum articles he points at the CLMultiContext class. Maybe I have reached the "not invented here" threshold and start coding things myself :-).

I am not sure yet whether I need all that fine-grained-ness of the tasks. Typical things I do are fractals and matrix multiplication. These are typical simd tasks.  I am just building a personal supercomputer (ahem) just for fun: 2 Xeons and three GPU's should get me some computer power. As you will understand, multi device balancing is part of the job. And openCL is full of subtleties. I thought that the multi-device version was scaling badly, but after some tests this morning I found out that scheduling Mandelbrot row-wise is a bad thing to do. It's about as inefficient as serialized Java! (which is much more efficient than I expected for an interpreted language) So back to the good old drawing board :-D