packages/dph.git
9 years agoUse divInt, modInt etc.
Roman Leshchinskiy [Thu, 20 May 2010 03:01:18 +0000 (03:01 +0000)] 
Use divInt, modInt etc.

9 years agoRefactoring to avoid making splitJoinD a loop breaker
Roman Leshchinskiy [Thu, 6 May 2010 10:13:16 +0000 (10:13 +0000)] 
Refactoring to avoid making splitJoinD a loop breaker

9 years agoAdd bangs
Roman Leshchinskiy [Thu, 6 May 2010 10:11:12 +0000 (10:11 +0000)] 
Add bangs

9 years agoRemove sequential gangs
Roman Leshchinskiy [Mon, 29 Mar 2010 09:11:03 +0000 (09:11 +0000)] 
Remove sequential gangs

9 years agoBuild system: Fix use of "rm" variables
Ian Lynagh [Sat, 8 May 2010 19:04:42 +0000 (19:04 +0000)] 
Build system: Fix use of "rm" variables

9 years agoAdd fftS to harness
benl@ouroborus.net [Thu, 1 Apr 2010 11:43:24 +0000 (11:43 +0000)] 
Add fftS to harness

9 years agoFix bugs in FFT benchmark
benl@ouroborus.net [Thu, 1 Apr 2010 11:18:46 +0000 (11:18 +0000)] 
Fix bugs in FFT benchmark

You can also now say
   seq/fft check

  and it will do a 1d transform of a step function,
  with both the FFT kernel and a DFT.

9 years agoPrint checksums of resulting matrices in mmult examples
benl@ouroborus.net [Thu, 1 Apr 2010 05:47:01 +0000 (05:47 +0000)] 
Print checksums of resulting matrices in mmult examples

9 years agoAdd to mmult C harness
benl@ouroborus.net [Thu, 1 Apr 2010 04:19:10 +0000 (04:19 +0000)] 
Add to mmult C harness
You can generate random matrices with -random, then save them
to file with -ddumpinput. Load them back up with the Haskell
version and check the output is the same.

9 years agoHacks to C mmult
benl@ouroborus.net [Thu, 1 Apr 2010 02:35:01 +0000 (02:35 +0000)] 
Hacks to C mmult

9 years agoFaster generation of random matrices for mmult
benl@ouroborus.net [Thu, 1 Apr 2010 02:06:01 +0000 (02:06 +0000)] 
Faster generation of random matrices for mmult

9 years agoStart on C ver of mmult
benl@ouroborus.net [Thu, 1 Apr 2010 02:01:17 +0000 (02:01 +0000)] 
Start on C ver of mmult

9 years agoSplit useful stuff out of C version of Laplace, and add to Makefile
benl@ouroborus.net [Thu, 1 Apr 2010 01:21:35 +0000 (01:21 +0000)] 
Split useful stuff out of C version of Laplace, and add to Makefile

9 years agoAdd DArray versions of mmult
benl@ouroborus.net [Thu, 1 Apr 2010 01:02:09 +0000 (01:02 +0000)] 
Add DArray versions of mmult

9 years agoAdd version of mmMult using traverse
benl@ouroborus.net [Thu, 1 Apr 2010 00:43:14 +0000 (00:43 +0000)] 
Add version of mmMult using traverse

9 years agoAdd to mmult harness
benl@ouroborus.net [Thu, 1 Apr 2010 00:31:02 +0000 (00:31 +0000)] 
Add to mmult harness

9 years agoMore fft
Roman Leshchinskiy [Wed, 31 Mar 2010 11:50:20 +0000 (11:50 +0000)] 
More fft

9 years agoAdded Any, test for fft
keller@cse.unsw.edu.au [Wed, 31 Mar 2010 11:43:58 +0000 (11:43 +0000)] 
Added Any, test for fft

9 years agoAdd to mmult harness, it'll read matrices from file but not write them back yet
benl@ouroborus.net [Wed, 31 Mar 2010 10:50:56 +0000 (10:50 +0000)] 
Add to mmult harness, it'll read matrices from file but not write them back yet

9 years agoCArray version of fft
Roman Leshchinskiy [Wed, 31 Mar 2010 10:26:15 +0000 (10:26 +0000)] 
CArray version of fft

9 years agoMore CArray ops
Roman Leshchinskiy [Wed, 31 Mar 2010 10:25:52 +0000 (10:25 +0000)] 
More CArray ops

9 years agoAdd a couple of CArray ops
Roman Leshchinskiy [Wed, 31 Mar 2010 10:00:11 +0000 (10:00 +0000)] 
Add a couple of CArray ops

9 years agoStart on CArray mmult harness
benl@ouroborus.net [Wed, 31 Mar 2010 08:58:17 +0000 (08:58 +0000)] 
Start on CArray mmult harness

9 years ago'port across more stuff from DArray into CArray
benl@ouroborus.net [Wed, 31 Mar 2010 08:55:30 +0000 (08:55 +0000)] 
'port across more stuff from DArray into CArray

9 years agoAdd replicateSlice
benl@ouroborus.net [Wed, 31 Mar 2010 07:36:34 +0000 (07:36 +0000)] 
Add replicateSlice

9 years agoAdd transpose and backpermute
benl@ouroborus.net [Wed, 31 Mar 2010 07:30:49 +0000 (07:30 +0000)] 
Add transpose and backpermute

9 years agoCleanup and nicer version of traverseCArray
benl@ouroborus.net [Wed, 31 Mar 2010 07:26:37 +0000 (07:26 +0000)] 
Cleanup and nicer version of traverseCArray

9 years agoFix traverseCArray
benl@ouroborus.net [Wed, 31 Mar 2010 06:38:41 +0000 (06:38 +0000)] 
Fix traverseCArray

9 years agoHacks to SolveCArray (makes it slower, not finished)
benl@ouroborus.net [Wed, 31 Mar 2010 06:22:38 +0000 (06:22 +0000)] 
Hacks to SolveCArray (makes it slower, not finished)

9 years agoMoving to Slice def of paper
keller@cse.unsw.edu.au [Wed, 31 Mar 2010 05:09:27 +0000 (05:09 +0000)] 
Moving to Slice def of paper

9 years agoChanging over to Slice type family from Index
keller@cse.unsw.edu.au [Wed, 31 Mar 2010 04:07:56 +0000 (04:07 +0000)] 
Changing over to Slice type family from Index

9 years agoAdd benchmarking code to C laplace solver
Roman Leshchinskiy [Wed, 31 Mar 2010 03:49:42 +0000 (03:49 +0000)] 
Add benchmarking code to C laplace solver

9 years agoChanged DArray, ArrayExamples, DArrayExamples to work with new shape type
keller@cse.unsw.edu.au [Wed, 31 Mar 2010 03:08:50 +0000 (03:08 +0000)] 
Changed DArray, ArrayExamples, DArrayExamples to work with new shape type

9 years agoUse Int indexing instead of (Int, Int) in IOUArray version of Laplace benchmark
benl@ouroborus.net [Wed, 31 Mar 2010 03:00:21 +0000 (03:00 +0000)] 
Use Int indexing instead of (Int, Int) in IOUArray version of Laplace benchmark
Makes it go about 2x faster.

9 years agoOutput compute time in laplace
Roman Leshchinskiy [Wed, 31 Mar 2010 01:42:33 +0000 (01:42 +0000)] 
Output compute time in laplace

9 years agoAdd deepSeqArray
Roman Leshchinskiy [Wed, 31 Mar 2010 01:42:20 +0000 (01:42 +0000)] 
Add deepSeqArray

9 years agoformatting only
benl@ouroborus.net [Tue, 30 Mar 2010 09:34:58 +0000 (09:34 +0000)] 
formatting only

9 years agoAdd first cut version of Laplace solver using IOUArrays
benl@ouroborus.net [Tue, 30 Mar 2010 07:04:09 +0000 (07:04 +0000)] 
Add first cut version of Laplace solver using IOUArrays
It's about 3x slower than carrays atm, but I'm still working on it...

9 years agowibble to traverseCArray
benl@ouroborus.net [Tue, 30 Mar 2010 04:03:50 +0000 (04:03 +0000)] 
wibble to traverseCArray

9 years agoAdd traverseCArray and use it in Laplace benchmark
benl@ouroborus.net [Tue, 30 Mar 2010 03:42:35 +0000 (03:42 +0000)] 
Add traverseCArray and use it in Laplace benchmark

9 years agoAdd more laplace example data
benl@ouroborus.net [Tue, 30 Mar 2010 02:34:10 +0000 (02:34 +0000)] 
Add more laplace example data

9 years agoRefactor C version of Laplace benchmark to allow non-square matrices
benl@ouroborus.net [Mon, 29 Mar 2010 23:37:32 +0000 (23:37 +0000)] 
Refactor C version of Laplace benchmark to allow non-square matrices

9 years agoMake Haskell version of Laplace benchmark take PPM file of boundary conditions
benl@ouroborus.net [Mon, 29 Mar 2010 07:50:17 +0000 (07:50 +0000)] 
Make Haskell version of Laplace benchmark take PPM file of boundary conditions

New cmd line usage is like:
  laplace carray-stencil 10000 examples/laplace/data/pls-100x100.ppm out.ppm

More example data is in regularArrays/examples/laplace/data

9 years agoRefactor laplace solvers slightly
Roman Leshchinskiy [Mon, 29 Mar 2010 05:06:20 +0000 (05:06 +0000)] 
Refactor laplace solvers slightly

9 years agoFix strictness of various functions in CArray
Roman Leshchinskiy [Mon, 29 Mar 2010 04:50:57 +0000 (04:50 +0000)] 
Fix strictness of various functions in CArray

9 years agoSave one remInt in fromIndex
Roman Leshchinskiy [Mon, 29 Mar 2010 04:50:38 +0000 (04:50 +0000)] 
Save one remInt in fromIndex

9 years agoseq/deepSeq stuff when constructing DArrays
Roman Leshchinskiy [Mon, 29 Mar 2010 04:08:37 +0000 (04:08 +0000)] 
seq/deepSeq stuff when constructing DArrays

9 years agoGive deepSeq a fixity
Roman Leshchinskiy [Mon, 29 Mar 2010 04:08:23 +0000 (04:08 +0000)] 
Give deepSeq a fixity

9 years agoFix typo
Roman Leshchinskiy [Mon, 29 Mar 2010 04:02:14 +0000 (04:02 +0000)] 
Fix typo

9 years agoChange shapes to use (.:) instead of (:*:)
Roman Leshchinskiy [Mon, 29 Mar 2010 03:13:07 +0000 (03:13 +0000)] 
Change shapes to use (.:) instead of (:*:)

9 years agoRemove superclass constraints on Shape
Roman Leshchinskiy [Mon, 29 Mar 2010 02:56:22 +0000 (02:56 +0000)] 
Remove superclass constraints on Shape

9 years agoGet rid of range
Roman Leshchinskiy [Mon, 29 Mar 2010 02:51:49 +0000 (02:51 +0000)] 
Get rid of range

9 years agoAdd deepSeq on Ranges
Roman Leshchinskiy [Mon, 29 Mar 2010 02:51:37 +0000 (02:51 +0000)] 
Add deepSeq on Ranges

9 years agoUse quotRemInt instead of divMod
Roman Leshchinskiy [Mon, 29 Mar 2010 02:36:46 +0000 (02:36 +0000)] 
Use quotRemInt instead of divMod

9 years agoUse regular folds
Roman Leshchinskiy [Mon, 29 Mar 2010 02:36:00 +0000 (02:36 +0000)] 
Use regular folds

9 years agoAdd replicate_rs/replicate rule
Roman Leshchinskiy [Tue, 2 Mar 2010 12:53:35 +0000 (12:53 +0000)] 
Add replicate_rs/replicate rule

9 years agoModify and export regular folds
Roman Leshchinskiy [Tue, 2 Mar 2010 12:52:48 +0000 (12:52 +0000)] 
Modify and export regular folds

9 years agoAdd comments to SolveDArray
benl@ouroborus.net [Fri, 26 Mar 2010 06:24:22 +0000 (06:24 +0000)] 
Add comments to SolveDArray
Converting back and forth between DArray and Array allows
the indexing function that reads the forced data at the start of
each iteration to be fused with the stencil function.

This achieves the same thing as CArray, but by using two
different array types instead of an Either.

9 years agoCleanup and add more inline pragmas
benl@ouroborus.net [Fri, 26 Mar 2010 05:19:08 +0000 (05:19 +0000)] 
Cleanup and add more inline pragmas

9 years agoAdd Laplace benchmark to Makefile
benl@ouroborus.net [Fri, 26 Mar 2010 04:39:34 +0000 (04:39 +0000)] 
Add Laplace benchmark to Makefile

9 years agoAdd version of CArray that uses a flat unboxed DIM type
benl@ouroborus.net [Fri, 26 Mar 2010 04:04:08 +0000 (04:04 +0000)] 
Add version of CArray that uses a flat unboxed DIM type

9 years agoAdd support for default to sequential execution if the gang is busy
Roman Leshchinskiy [Thu, 25 Mar 2010 11:10:57 +0000 (11:10 +0000)] 
Add support for default to sequential execution if the gang is busy

To enable, uncomment the #define SEQ_IF_GANG_BUSY line in Gang.hs. Let's see
if this works out before making it more convenient.

9 years agoFix comment
Roman Leshchinskiy [Thu, 25 Mar 2010 11:00:31 +0000 (11:00 +0000)] 
Fix comment

9 years agoChange Gang representation slightly
Roman Leshchinskiy [Thu, 25 Mar 2010 11:00:07 +0000 (11:00 +0000)] 
Change Gang representation slightly

9 years agoInline forcing function makes CArray about 40% faster than DArray for Laplace benchmark
benl@ouroborus.net [Thu, 25 Mar 2010 23:14:09 +0000 (23:14 +0000)] 
Inline forcing function makes CArray about 40% faster than DArray for Laplace benchmark

9 years agoStart on Cached Array (CArray) version of Laplace example
benl@ouroborus.net [Thu, 25 Mar 2010 06:58:19 +0000 (06:58 +0000)] 
Start on Cached Array (CArray) version of Laplace example

9 years agoAdd boundary conditions back to specialised version
benl@ouroborus.net [Thu, 25 Mar 2010 04:39:32 +0000 (04:39 +0000)] 
Add boundary conditions back to specialised version

9 years agoAdd a version of Laplace with a specialised solver loop
benl@ouroborus.net [Thu, 25 Mar 2010 04:01:16 +0000 (04:01 +0000)] 
Add a version of Laplace with a specialised solver loop

9 years agoFormatting only
benl@ouroborus.net [Thu, 25 Mar 2010 01:51:16 +0000 (01:51 +0000)] 
Formatting only

9 years agoAdded proper impl of relaxMS
keller@cse.unsw.edu.au [Thu, 25 Mar 2010 02:42:52 +0000 (02:42 +0000)] 
Added proper impl of relaxMS

9 years agoAdd DArray stencil version of Laplace example
benl@ouroborus.net [Thu, 25 Mar 2010 01:49:15 +0000 (01:49 +0000)] 
Add DArray stencil version of Laplace example

9 years agoFix bugs in existing relaxation fns. ((/) 5) /= (/ 5)
benl@ouroborus.net [Thu, 25 Mar 2010 00:41:57 +0000 (00:41 +0000)] 
Fix bugs in existing relaxation fns. ((/) 5) /= (/ 5)

9 years agoAdd array-backpermute version to Laplace example
benl@ouroborus.net [Thu, 25 Mar 2010 00:39:10 +0000 (00:39 +0000)] 
Add array-backpermute version to Laplace example

9 years agoMake C and Haskell versions of Laplace example behave the same way, and give same...
benl@ouroborus.net [Wed, 24 Mar 2010 23:32:24 +0000 (23:32 +0000)] 
Make C and Haskell versions of Laplace example behave the same way, and give same result.

9 years agoCleanup Laplace examples, and make them take the same cmd line args.
benl@ouroborus.net [Wed, 24 Mar 2010 23:10:21 +0000 (23:10 +0000)] 
Cleanup Laplace examples, and make them take the same cmd line args.

9 years agoAdd C version of Laplace benchmark
benl@ouroborus.net [Wed, 24 Mar 2010 07:53:53 +0000 (07:53 +0000)] 
Add C version of Laplace benchmark

9 years agoAdd DArray version of laplace solver
benl@ouroborus.net [Wed, 24 Mar 2010 06:57:49 +0000 (06:57 +0000)] 
Add DArray version of laplace solver

9 years agoSplit out solver into its own module
benl@ouroborus.net [Wed, 24 Mar 2010 06:28:42 +0000 (06:28 +0000)] 
Split out solver into its own module

9 years agoMake laplace example take cmd line args, and don't use lists in PPM output.
benl@ouroborus.net [Wed, 24 Mar 2010 06:06:50 +0000 (06:06 +0000)] 
Make laplace example take cmd line args, and don't use lists in PPM output.

9 years agoAdd example solver for the Laplace equation
benl@ouroborus.net [Wed, 24 Mar 2010 05:17:29 +0000 (05:17 +0000)] 
Add example solver for the Laplace equation

9 years agoAdd words benchmark to Makefile
benl@ouroborus.net [Wed, 24 Mar 2010 04:34:03 +0000 (04:34 +0000)] 
Add words benchmark to Makefile

9 years agoComment wibble
benl@ouroborus.net [Tue, 16 Mar 2010 03:21:38 +0000 (03:21 +0000)] 
Comment wibble

9 years agoAdd helpful error messages
benl@ouroborus.net [Tue, 16 Mar 2010 03:12:59 +0000 (03:12 +0000)] 
Add helpful error messages
If fromPArrayP, toPArrayP and fromNestedPArrayP appears in non-vectorised
code then say that's not possible, instead of just calling undefined.

9 years agoAdd sliceP combinator
benl@ouroborus.net [Tue, 16 Mar 2010 03:12:40 +0000 (03:12 +0000)] 
Add sliceP combinator

9 years agoComments only
benl@ouroborus.net [Tue, 16 Mar 2010 03:11:25 +0000 (03:11 +0000)] 
Comments only

9 years agoComments only
benl@ouroborus.net [Thu, 11 Mar 2010 04:43:26 +0000 (04:43 +0000)] 
Comments only

9 years agoRemoved changes to circumvent core lint error (seems fixed in curr comp version)
keller@cse.unsw.edu.au [Thu, 4 Mar 2010 01:58:18 +0000 (01:58 +0000)] 
Removed changes to circumvent core lint error (seems fixed in curr comp version)

9 years agoCleanup
keller@cse.unsw.edu.au [Thu, 4 Mar 2010 01:20:41 +0000 (01:20 +0000)] 
Cleanup

9 years agoAdded snd FFT algorithm
keller@cse.unsw.edu.au [Tue, 2 Feb 2010 03:44:24 +0000 (03:44 +0000)] 
Added snd FFT algorithm

9 years agoTested & Imporved examples
keller@cse.unsw.edu.au [Mon, 1 Feb 2010 03:20:08 +0000 (03:20 +0000)] 
Tested & Imporved examples

9 years agoCleaned up code for reglib
keller@cse.unsw.edu.au [Tue, 12 Jan 2010 01:28:48 +0000 (01:28 +0000)] 
Cleaned up code for reglib

9 years agoFix warnings
benl@ouroborus.net [Thu, 25 Feb 2010 01:57:25 +0000 (01:57 +0000)] 
Fix warnings

9 years agoAdd version of quickhull that prints an SVG of the computed hull
benl@ouroborus.net [Wed, 24 Feb 2010 06:34:43 +0000 (06:34 +0000)] 
Add version of quickhull that prints an SVG of the computed hull

9 years agoAdd missing export for 'toList'
benl@ouroborus.net [Wed, 24 Feb 2010 05:29:49 +0000 (05:29 +0000)] 
Add missing export for 'toList'

9 years agoFix typo in Makefile
Ben.Lippmeier@anu.edu.au [Mon, 15 Feb 2010 06:09:48 +0000 (06:09 +0000)] 
Fix typo in Makefile

9 years agoAdd GHC.Exts.traceEvent to delimit benchmark payload
Manuel M T Chakravarty [Mon, 15 Feb 2010 03:06:40 +0000 (03:06 +0000)] 
Add GHC.Exts.traceEvent to delimit benchmark payload

9 years agoadd dependencies on the dph-prim GHCi lib for modules with TH/annotations
Simon Marlow [Sun, 3 Jan 2010 23:11:02 +0000 (23:11 +0000)] 
add dependencies on the dph-prim GHCi lib for modules with TH/annotations
fixes failure with make -j

9 years agoRemove packPR and friends
Roman Leshchinskiy [Thu, 12 Nov 2009 07:08:25 +0000 (07:08 +0000)] 
Remove packPR and friends

We use packByTagPR instead

9 years agoFix a race in the build system
Ian Lynagh [Thu, 19 Nov 2009 00:14:15 +0000 (00:14 +0000)] 
Fix a race in the build system
We could try to build
    Data/Array/Parallel/Lifted/Repr.dyn_o
before
    Data/Array/Parallel/Lifted/TH/Repr.o
is built, leading to a failure when trying to load the latter in order
to run a TH splice.

9 years agoAdd seq rule for count
Roman Leshchinskiy [Tue, 10 Nov 2009 15:07:40 +0000 (15:07 +0000)] 
Add seq rule for count