On Mon, May 16, 2011 at 1:33 PM, Grigory Sarnitskiy <sargrig...@ya.ru> wrote:
> Hello!
>
> I'm probing CUDA with Haskell, accelerate package to be exact. Sound stupid, 
> but I couldn't find how to actually construct an array, for example Vector 
> Float.
>
> There is quite a number of examples provided with the package, but they seem 
> not simple enough for me just to start.

There's fromIArray and fromList [1].  Does that answer your question?

[1] 
http://hackage.haskell.org/packages/archive/accelerate/0.8.1.0/doc/html/Data-Array-Accelerate.html#6

Cheers, =)

-- 
Felipe.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to