Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use cblas in SGVector::vec1_plus_scalar_times_vec2
The function SGVector::vec1_plus_scalar_times_vec2 maps nicely onto cblas_saxpy and cblas_daxpy, which are significantly faster. Had to disable generic template for vec1_plus_scalar_times_vec2, but it is not used anyway.
- Loading branch information
1 parent
98f4788
commit d7076c3
Showing
2 changed files
with
41 additions
and
7 deletions.
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
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