Skip to content

Demonstration of GPU-accelerated statistical functions in ATS

License

Notifications You must be signed in to change notification settings

vmchale/ats-stats

Repository files navigation

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.