Changes between Version 17 and Version 18 of WikiStart
- Timestamp:
- Mar 29, 2011, 10:22:53 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v17 v18 4 4 All numeric data is stored unboxed. Functions written with the Repa combinators 5 5 are automatically parallel provided you supply +RTS -Nwhatever on the command 6 line when running the program. 7 8 == Caveats == 9 * 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 more than 10x slower than normal. It's been tested with GHC > 6.13.20100309. 10 11 * For performance reasons, we don't do bounds checking when indexing arrays. Indexing outside an array will likely cause heap corruption. 12 13 * Repa means "turnip" in Russian. If you don't like turnips then this library probably isn't for you. 6 line when running the program. Repa means "turnip" in Russian. If you don't like turnips then this library probably isn't for you. 14 7 15 8 == Download == … … 39 32 || [[Image(WikiStart:lena-high2-thumb.jpg)]] || [[Image(WikiStart:pls-400x400-out-thumb.jpg)]] || 40 33 || [wiki:Examples/Fft2dHighpass more info] || [wiki:Examples/Laplace more info] || 34 35 == Demo == 36 There is also an OSX demo that does edge detection on a video stream: 37 38 * The [http://code.ouroborus.net/beholder/beholder-head/ source] should compile with XCode 3.2.1 and GHC 7.0.3, but you need to update and run the CONFIGURE.sh script to point it to your GHC install. 39 * There are also prebuilt OSX i386 versions for [http://code.ouroborus.net/beholder/distro/beholder-N2.tgz two] [http://code.ouroborus.net/beholder/distro/beholder-N4.tgz four] and [http://code.ouroborus.net/beholder/distro/beholder-N6.tgz six] threads. These just have the corresponding +RTS -N# option baked in, you can set it in the main.m module. Some day I will make it so you can select this from the GUI. 40 * If you don't have a Mac then you can watch a [http://code.ouroborus.net/beholder/video/Edge480.mov video] of me demonstrating it. 41 * You can also run the edge detector over a single uncompressed .bmp file using the repa-canny program from the [http://hackage.haskell.org/package/repa-examples repa-examples] package. 42