Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5ea4d40ebc
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 7 lines (5 sloc) 0.196 kb
1 2 3 4 5 6
import Data.Array.Accelerate as Acc
import Data.Array.Accelerate.Repa as Repa

main :: IO ()
main = do
   putStrLn $ Repa.run $ Acc.fold (\x y -> x) 1 $ use $ fromList (Z:.(1::Int)) [3::Int]
Something went wrong with that request. Please try again.