News for hackers. Stuff that matters.
Re:ArrayFire, a general-purpose GPU library, goes open source by galapago on Wednesday November 12, 2014 @04:43PM (#8598412)
Can you give a short comparative with Theano?
Re:ArrayFire, a general-purpose GPU library, goes open source by pavanky on Wednesday November 12, 2014 @05:12PM (#8598601)
I am not too familiar with Theano, but from what I can tell it is more focused towards Deep Learning. So I will refrain from comparing and will give you a short list about ArrayFire.

- Supports multiple backends, so you can run on NVIDIA GPUs, AMD GPUs, Intel Xeon Phis, and all CPUs using the same API.

- ArrayFire currently has statistics, image processing, signal processing and Linear algebra functions. We are planning to add Machine Learning and Computer Vision functions / algorithms in the near future.

- ArrayFire is a native (C/C++) library. It can be used from other languages fairly easily.

- The main goal is to make parallel programming in general (GPU programming in particular) easier and portable.

Re:ArrayFire, a general-purpose GPU library, goes open source by bch on Wednesday November 12, 2014 @05:38PM (#8598740)
I glanced for extern C clauses but didn't see them -- is C considered a first-class language to bind to this lib though ?

update: Downloaded repo, grepped, found externs... looking forward to playing with this :)

Re:ArrayFire, a general-purpose GPU library, goes open source by pavanky on Wednesday November 12, 2014 @05:50PM (#8598801)
You can look at our headers to find the C api alongside the C++ API.

Here is the image.h header file for example: https://github.com/arrayfire/arrayfire/blob/devel/include/af...

extern "C" is present on line 58.