Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmoney/go-lapack
Linear algebra package with native BLIS and BLAS bindings
https://github.com/jmoney/go-lapack
github-site mkdocs
Last synced: 16 days ago
JSON representation
Linear algebra package with native BLIS and BLAS bindings
- Host: GitHub
- URL: https://github.com/jmoney/go-lapack
- Owner: jmoney
- License: apache-2.0
- Created: 2024-06-27T04:38:17.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-28T03:11:10.000Z (5 months ago)
- Last Synced: 2024-10-16T13:07:25.849Z (about 1 month ago)
- Topics: github-site, mkdocs
- Language: Go
- Homepage: https://www.jmoney.dev/go-lapack
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Go-Lapack
Linear algebra package in golang using native bindings to various architecture specific linear algebra libraries.
The difference between this repository [gonum](https://github.com/gonum/gonum) is gonum is a golang native implementation while this repo uses native bindings to the blas or blis.
## go-blis
Go-Blis is a Go wrapper for the [BLIS](https://github.com/flame/blis) library. BLIS is a portable software framework for instantiating high-performance BLAS-like dense linear algebra libraries. The framework was designed to isolate essential kernels of computation that, when optimized, immediately enable optimized implementations of most of its commonly used and computationally intensive operations.
## Local Testing
go-blis uses cgo to interface with the BLIS library. The BLIS library must be installed on the system and the library must be in the system's library path. Local development has been done on a Mac M1 processor. To install on a mac homebrew can be used.
```bash
brew bundle --file=./Brewfile
```This installs blis and any other dependencies.
Then to run the tests:
```bash
make test
```