Version 2 (modified by Ben Lippmeier, 14 years ago) (diff)


Repa (REgular PArallel arrays)

This is the developer's wiki for the Repa array library.

Repa provides high performance, regular, multi-dimensional, shape polymorphic parallel arrays. All numeric data is stored unboxed. Functions written with the Repa combinators are automatically parallel provided you supply +RTS -Nwhatever on the command line when running the program.


  • Repa currently depends on the head branch of GHC to get decent performance. If you compile it with 6.12 then it'll run, but the programs will be very slow.
  • For performance reasons, we don't do bounds checking when indexing arrays. Indexing outside an array will likely cause heap corruption.
  • Repa means "turnip" in Russian. If you don't like turnips then this library probably isn't for you.

Attachments (4)

Download all attachments as: .zip