Changes between Version 6 and Version 7 of Examples/Laplace
- Timestamp:
- May 7, 2010, 7:48:33 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Examples/Laplace
v6 v7 1 1 = Laplace = 2 2 3 Solves the Laplace equation `u_xx + u_yy = 0` in a rectangular domain, by iteratively applying a stencil function function.3 Solves the Laplace equation `u_xx + u_yy = 0` in a rectangular domain, by iteratively applying a stencil function. 4 4 5 5 The first argument is the number of iterations to use. The second is a BMP file containing boundary conditions. … … 23 23 || [http://code.haskell.org/repa/wiki/images/pls-400x400.bmp full size] || [http://code.haskell.org/repa/wiki/images/pls-400x400-out.bmp full size] || 24 24 25 == Runtime == 26 27 Compiled with GHC 6.13.20100309. 400x400 image. 1000 iterations. 28 29 Running on a Intel i7 iMac. 2.8Ghz, 4 cores x 2 threads/core. 256k L1, 8MB L2, 8GB main memory. 30 31 Times stated include IO. 32 33 || Threads || Time(s) || 34 || 1 || 64.67 || 35 || 2 || 37.29 || 36 || 3 || 27.45 || 37 || 4 || 31.96 || 38 || 5 || 28.08 || 39 || 6 || 24.39 || 40 || 7 || 23.83 || 41 || 8 || 24.67 ||