-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restructure repo and change tabs to spaces
- Loading branch information
Showing
5 changed files
with
28 additions
and
30 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package level3 | ||
|
||
// #cgo LDFLAGS: -lblis | ||
// #include "blis.h" | ||
import "C" | ||
import ( | ||
"github.com/jmoney/go-blas/mat" | ||
) | ||
|
||
// Bli_dgemm maps to bli_dgemm in BLIS. | ||
// | ||
// Computes the operation: C := (alpha * A') * (beta * B') + C | ||
func Bli_dgemm(transa mat.TransT, transb mat.TransT, alpha *float64, a mat.General, beta *float64, b mat.General, c mat.General) { | ||
C.bli_dgemm(C.trans_t(transa), C.trans_t(transb), | ||
C.longlong(a.Rows), C.longlong(b.Cols), C.longlong(a.Cols), | ||
(*C.double)(alpha), (*C.double)(&a.Data[0]), C.longlong(a.RowsStride), C.longlong(a.ColsStride), | ||
(*C.double)(&b.Data[0]), C.longlong(b.RowsStride), C.longlong(b.ColsStride), (*C.double)(beta), | ||
(*C.double)(&c.Data[0]), C.longlong(c.RowsStride), C.longlong(c.ColsStride)) | ||
} |
File renamed without changes.
This file was deleted.
Oops, something went wrong.