This forum has been archived. All content is frozen. Please use KDE Discuss instead.

new backend

Tags: None
(comma "," separated)
xaffeine
Registered Member
Posts
24
Karma
0

new backend

Fri Aug 15, 2014 10:08 pm
How easy or hard is it to write a new "back end" for Eigen? We have a custom-designed vector processor and would like the same application code that runs on off-the-shelf computers to run efficient on this special machine.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: new backend

Sat Aug 16, 2014 9:55 am
It's quite straightforward, you basically have to copy-paste the PacketMath.h file in Core/src/arch/SSE, and adapt the p* functions.
xoffey
Registered Member
Posts
2
Karma
0

Re: new backend

Sat Aug 23, 2014 2:24 am
BTW, what is the status of AVX2 support in Eigen? This is something we'd be very excited to see!
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: new backend

Sat Aug 23, 2014 6:56 am
as far as I known nobody started working on it, but since we already have an AVX backend, adding AVX2 support for integers should be rather straightforward.
xoffey
Registered Member
Posts
2
Karma
0

Re: new backend

Sat Aug 23, 2014 8:11 pm
(dropping AVX2, now asking about AVX1)

In version 3.2.2, I see no mention of AVX in Eigen/src/Core/arch/SSE.

In your repository, I see you have an Eigen/src/Core/arch/AVX directory, which is not included in the 3.2 branch.

If I want to get some AVX optimizations with maximum overall stability, what would you recommend? What would it take to merge arch/AVX into 3.2?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: new backend

Tue Aug 26, 2014 8:07 am
The current devel branch is pretty stable and I'd recommend to use it. However, keep the current revision as we'll merge a huge refactoring of the code soon.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]