-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cblas: add func prototype for cblas_(s|d)syrk
- Loading branch information
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5e47361
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should say I do not like this.
Why is cblas.h edited in the first place?
Next time we need another blas function, you will have to do this again.
5e47361
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that we need to deal with ILP64 version of OpenBLAS: 60c16e2#diff-25b563300be5d18000d9318e43c59e36
See also:
Maybe I should include all the cblas function in this PR, just a tedious work to get all C macros.
5e47361
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The alternative is to stop building agains Julia's openblas and build it ourself...
5e47361
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it is a bit hacky. But for now, I think building against Julia's openblas is still a bit easier for end user than installing openblas. Maybe we can try to persuade the Julia release to include a header file for their openblas?
5e47361
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Julia has decided against including headers for their dependencies, but hopefully the next generation of BinDeps will address this.