Hello all,
I've finished the first draft of the horde on GPUs.
This probably contains loads of bugs but I put it up anyways. You can
get it at:
http://code.google.com/p/opencl-horde/
I've followed as closely as I could the structure in rlpark. Demons
should be created in a very similar way (with the exception that they
have to be CLDemons). I have left out a few possible optimizations in the
opencl code which i might add later as I start benchmarking the
performance. The tried abstracting opencl away as much as possible. The
code that sets it up is still pretty basic so there might be some
unforeseen cases where performance is horrible or, even worse, doesn't
work at all. If you do encounter those case, please tell me and I will
look into it.
I'm still working on this so if there is anything you would like to
see implemented or changed (e.g. interfaces, methods or functionality)
send it my way and I will see if it can be done efficiently.
I
encourage you to plug it in some of your previous experiments and share
with me the differences in performance (or lack of). The more feedback I
get, the better I can make it.
Send me feedback!
Cheers,
Clement Gehring