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

Crash in SVD computation #42

Open
pradeeptrgit opened this issue Oct 25, 2020 · 1 comment
Open

Crash in SVD computation #42

pradeeptrgit opened this issue Oct 25, 2020 · 1 comment

Comments

@pradeeptrgit
Copy link

pradeeptrgit commented Oct 25, 2020

Hi,

There is a crash observed when libflame API DGESDD is invoked for the attached dataset. Size 143x143. The computation is resulting in denormal numbers and finally crash occurs.

dgesvd_143t.txt

The crash is in function FLA_Bsvd_ext_opd_var1() at the line FLA_Abort();

Also attached test code. It is stripped portion of a larger application code. Shows how inputs are passed
example_dgesddc.txt

@omor1
Copy link

omor1 commented Nov 5, 2021

I think I've been experiencing a similar issue, but compounded with the fact that in my use-case, it appears to not be precisely replicable—whether it occurs appears to be stochastic. In any case, I observe libflame aborting in the same location. I additionally note that while I've not tested it, the behavior in the code is different in single precision (FLA_Bsvd_ext_ops_var1) from double, single complex, and double complex (FLA_Bsvd_ext_op{d,c,z}_var1)—the latter three all call FLA_Abort, but the former simply returns the number of iterations that were executed (n_iter_prev) before it gives up.

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

2 participants