28.07.2013 Views

Making OpenCL? Simple with Haskell - AMD Developer Central

Making OpenCL? Simple with Haskell - AMD Developer Central

Making OpenCL? Simple with Haskell - AMD Developer Central

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

WE COULD THEN GENERATE KERNEL WRAPPERS<br />

hello :: KernelInvocation r => Buffer Char -> r<br />

hello = invoke …<br />

or<br />

hello :: Wraps t m n => [Char] -> n [Char]<br />

hello = …<br />

48 | <strong>Making</strong> <strong>OpenCL</strong> <strong>Simple</strong> | January, 2011 | Public

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!