Giter Site home page Giter Site logo

bravegag / eigen-magma Goto Github PK

View Code? Open in Web Editor NEW
48.0 48.0 11.0 2.06 MB

A fork of Eigen 3.2 to use MAGMA (GPU & CPU) as backend in the same way it does with Intel MKL.

License: Other

C 34.57% C++ 44.22% Objective-C 0.03% Shell 0.12% Fortran 20.74% Python 0.12% JavaScript 0.11% CSS 0.07%

eigen-magma's People

Contributors

bravegag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

eigen-magma's Issues

Broken with magma 1.5 due to change in magma_vec_t

Hey,

Compilation breaks with magma 1.5 due to change in the typedef of magma_vec_t

1.4.1:

typedef char magma_vec_t;

1.5

typedef enum {
    MagmaNoVec         = 301,  /* geev, syev, gesvd */
    MagmaVec           = 302,  /* geev, syev */
    MagmaIVec          = 303,  /* stedc */
    MagmaAllVec        = 304,  /* gesvd, trevc */
    MagmaSomeVec       = 305,  /* gesvd, trevc */
    MagmaOverwriteVec  = 306,  /* gesvd */
    MagmaBacktransVec  = 307   /* trevc */
} magma_vec_t;

This breaks compilation of Eigen/src/SVD/JacobiSVD_MAGMA.h because magma_vec_t is an enum now and these options need to be parsed differently:

  jobu  = (m_computeFullU) ? 'A' : (m_computeThinU) ? 'S' : 'N'; \
  jobvt = (m_computeFullV) ? 'A' : (m_computeThinV) ? 'S' : 'N'; \

I will attach a patch shortly.

Won't recommend using this in 2021

Hey, just a heads up for anyone trying, go search for another library. I tried this on linux, and I failed misrably. You need some intel libraries which are hard to obtain. The intel parallel studio is discontinued, and the AUR package for it doesn't even work by now. And no, i am not going to download 23 GB just for some new shiny intel compilers and libraries.

I am going to try this: eigen-cuda
This works perfectly, but isn't really Eigen. But you can initialize matrices by an Eigen matrix.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.