Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken with magma 1.5 due to change in magma_vec_t #3

Open
XapaJIaMnu opened this issue Nov 2, 2014 · 0 comments
Open

Broken with magma 1.5 due to change in magma_vec_t #3

XapaJIaMnu opened this issue Nov 2, 2014 · 0 comments

Comments

@XapaJIaMnu
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant