Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabianmurariu/graphblas-java-native
graphblas wrapper for java using JNI
https://github.com/fabianmurariu/graphblas-java-native
Last synced: about 17 hours ago
JSON representation
graphblas wrapper for java using JNI
- Host: GitHub
- URL: https://github.com/fabianmurariu/graphblas-java-native
- Owner: fabianmurariu
- License: apache-2.0
- Created: 2020-05-06T21:01:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-03T11:47:34.000Z (over 3 years ago)
- Last Synced: 2023-05-25T06:22:43.902Z (over 1 year ago)
- Language: C
- Size: 158 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JNI bindings for GraphBLAS
## Build and get the code
```bash
git clone --recurse-submodules https://github.com/fabianmurariu/graphblas-java-native.git# this will build GraphBLAS for you and build the maven java project
make graphblas-java# to install GraphBLAS
sudo make grb-install
# if you don't wish to install you need to set
# LD_LIBRARY_PATH=$(pwd)/GraphBLAS/build:$LD_LIBRARY_PATH
# before running the maven tests outside of make
```
## For usage check tests
in [GRAPHBLASSpec.scala](https://github.com/fabianmurariu/graphblas-java-native/blob/master/graphblas-java/src/test/scala/com/github/fabianmurariu/unsafe/GRAPHBLASSpec.scala)### Create a Matrix
```scala
Buffer mat = GRBCORE.createMatrix(GRAPHBLAS.booleanType(), rows, cols)
```