compute icon indicating copy to clipboard operation
compute copied to clipboard

Add ArrayFire benchmarks

Open svenstaro opened this issue 9 years ago • 5 comments

I think it would be interesting to see ArrayFire benchmarks especially because it claims to be (mostly) faster than boost.compute in their benchmarks. These could run as part of your other perf tests and give a better overall picture where boost.compute fits in performance-wise.

svenstaro avatar Aug 25 '15 07:08 svenstaro

The benchmark code used for the blog can be seen here: https://github.com/arrayfire/valhalla. I am trying to make it a full blown benchmarking suite for all the libraries used in that blog post.

@kylelutz If you are thinking about doing this let me know if you need any help from my end.

pavanky avatar Aug 25 '15 09:08 pavanky

Any update on this? And any tips for Boost.Compute how to make it faster?

VincentSC avatar Sep 16 '15 12:09 VincentSC

@VincentSC One of the things I have noticed where ArrayFire is faster is because of the memory manager. If you can modify your local boost compute to implement even a rudimentary memory manager it can improve the performance quite a bit at smaller sizes.

pavanky avatar Sep 16 '15 14:09 pavanky

Yeah, I'm hesitant to add more benchmark applications directly to Boost.Compute. I more like the valhalla approach to providing a single, separate benchmark suite which compares a variety of GPU libraries. This seems preferable to each individual library maintaining their own benchmark suite for every other library.

And a memory manager would be good to have, especially for algorithms that could re-use the same "scratch" memory buffers over and over.

kylelutz avatar Sep 20 '15 23:09 kylelutz

In that case maybe you should link to an external suite of benchmarks instead of providing your own and then work with the maintainer of that benchmark suite?

svenstaro avatar Nov 27 '15 11:11 svenstaro