Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 665 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 665 Bytes

ats-stats

This is a demonstration of calling Futhark from ATS. We use it to provide statistical functions in ATS.

Building

First, get futhark and ATS. 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.