Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vmchale/ats-stats
Demonstration of GPU-accelerated statistical functions in ATS
https://github.com/vmchale/ats-stats
ats futhark gpu-acceleration gpu-computing statistics
Last synced: 14 days ago
JSON representation
Demonstration of GPU-accelerated statistical functions in ATS
- Host: GitHub
- URL: https://github.com/vmchale/ats-stats
- Owner: vmchale
- License: bsd-3-clause
- Created: 2020-02-07T01:41:53.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-11T00:24:38.000Z (almost 4 years ago)
- Last Synced: 2024-11-10T23:34:40.941Z (2 months ago)
- Topics: ats, futhark, gpu-acceleration, gpu-computing, statistics
- Language: ATS
- Size: 45.9 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ats-stats
This is a demonstration of calling [Futhark](https://futhark-lang.org/) from
[ATS](http://www.ats-lang.org/). We use it to provide statistical functions in
ATS.## Building
First, get [futhark](http://hackage.haskell.org/package/futhark) and
[ATS](http://www.ats-lang.org/Downloads.html#ATS_packages). Make sure you have OpenCL.To run:
```
futhark pkg sync
make
LD_LIBRARY_PATH=target/lib ./target/spec
```### Shake
For slightly better dependency tracking:
```
futhark pkg sync
./Shakefile.hs run
```## Use
Find an example showing how to compute the mean of an array
[here](https://github.com/vmchale/ats-stats/blob/master/test/spec.dats).