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

lapack/netlib: allocate work in Dlantr when necessary #67

Merged
merged 5 commits into from Oct 31, 2019

Conversation

vladimir-ch
Copy link
Member

Since we are row-major, for our Go implementation it makes sense to use work of length n for the L-1 norm (MaxColumSum). However, LAPACKE just forwards work to the Fortran reference which is column-major and uses it for L-infinity norm (MaxRowSum) and needs length of m.

The module dance is to get Gonum 0.6.0.

Please take a look.

@codecov-io
Copy link

Codecov Report

Merging #67 into master will increase coverage by 0.25%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #67      +/-   ##
=========================================
+ Coverage   29.64%   29.9%   +0.25%     
=========================================
  Files           2       2              
  Lines        6382    6384       +2     
=========================================
+ Hits         1892    1909      +17     
+ Misses       4047    4039       -8     
+ Partials      443     436       -7
Impacted Files Coverage Δ
blas/netlib/blas.go 29.16% <ø> (ø) ⬆️
lapack/netlib/lapack.go 31.97% <100%> (+0.98%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2d6e29b...a46f610. Read the comment docs.

@vladimir-ch vladimir-ch merged commit 029f6d2 into master Oct 31, 2019
@vladimir-ch vladimir-ch deleted the lapack/dlantr-work branch October 31, 2019 07:44
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

Successfully merging this pull request may close these issues.

None yet

3 participants