packages/dph.git
9 years agoFiddle with inline phases
Roman Leshchinskiy [Wed, 21 Oct 2009 02:01:15 +0000 (02:01 +0000)] 
Fiddle with inline phases

9 years agoAdd and use packByTag
Roman Leshchinskiy [Wed, 21 Oct 2009 01:59:27 +0000 (01:59 +0000)] 
Add and use packByTag

9 years agoAdd INLINE pragma
Roman Leshchinskiy [Tue, 20 Oct 2009 12:49:06 +0000 (12:49 +0000)] 
Add INLINE pragma

9 years agoSmall optimisation
Roman Leshchinskiy [Fri, 16 Oct 2009 02:59:45 +0000 (02:59 +0000)] 
Small optimisation

9 years agoAdd some NOINLINE pragmas
Roman Leshchinskiy [Fri, 16 Oct 2009 02:52:07 +0000 (02:52 +0000)] 
Add some NOINLINE pragmas

9 years agoFix nasty bug in selector replication
Roman Leshchinskiy [Fri, 16 Oct 2009 02:45:10 +0000 (02:45 +0000)] 
Fix nasty bug in selector replication

9 years agoMove code and clean up
Roman Leshchinskiy [Thu, 15 Oct 2009 05:54:56 +0000 (05:54 +0000)] 
Move code and clean up

9 years agoMake PA and PR type classes instead of records
Roman Leshchinskiy [Thu, 15 Oct 2009 03:04:07 +0000 (03:04 +0000)] 
Make PA and PR type classes instead of records

This is a big change in preparation for Simon's inline patch.

9 years agoUse -dcore-lint when building examples
Roman Leshchinskiy [Thu, 15 Oct 2009 03:03:44 +0000 (03:03 +0000)] 
Use -dcore-lint when building examples

9 years agoAdded SAC examples
keller@cse.unsw.edu.au [Tue, 13 Oct 2009 09:28:32 +0000 (09:28 +0000)] 
Added SAC examples

10 years agoTurn off reboxing hack
Roman Leshchinskiy [Fri, 21 Aug 2009 05:32:13 +0000 (05:32 +0000)] 
Turn off reboxing hack

It seems to expose a bug in the new inliner which I have to investigate. I
suspect the hack isn't needed any more since SpecConstr has got significantly
smarter since I implemented it.

10 years agoMake sure GHC can figure out strictness of replicateSU
Roman Leshchinskiy [Fri, 21 Aug 2009 05:31:54 +0000 (05:31 +0000)] 
Make sure GHC can figure out strictness of replicateSU

10 years agoFix bug in reboxing code
Roman Leshchinskiy [Fri, 21 Aug 2009 05:29:58 +0000 (05:29 +0000)] 
Fix bug in reboxing code

10 years agoAdd repeat/enumFromStepLen fusion rule
Roman Leshchinskiy [Fri, 21 Aug 2009 05:25:38 +0000 (05:25 +0000)] 
Add repeat/enumFromStepLen fusion rule

10 years agoFix strictness
Roman Leshchinskiy [Fri, 21 Aug 2009 05:25:09 +0000 (05:25 +0000)] 
Fix strictness

10 years agoFix strictness of bpermuteUS
Roman Leshchinskiy [Fri, 21 Aug 2009 05:16:29 +0000 (05:16 +0000)] 
Fix strictness of bpermuteUS

10 years agoAdd regular segmented replicate
Roman Leshchinskiy [Fri, 21 Aug 2009 02:46:38 +0000 (02:46 +0000)] 
Add regular segmented replicate

10 years agoFix "Cabal check" warnings
Ian Lynagh [Tue, 11 Aug 2009 21:59:01 +0000 (21:59 +0000)] 
Fix "Cabal check" warnings

10 years agoAdded dummy module (Foo.hs) to circumvent buildsys problem
keller@cse.unsw.edu.au [Tue, 11 Aug 2009 04:46:15 +0000 (04:46 +0000)] 
Added dummy module (Foo.hs) to circumvent buildsys problem

10 years agoFixed dependencies in makefile
keller@cse.unsw.edu.au [Tue, 11 Aug 2009 04:42:57 +0000 (04:42 +0000)] 
Fixed dependencies in makefile

10 years agoFixed hierarchical matrices
keller@cse.unsw.edu.au [Tue, 11 Aug 2009 04:33:49 +0000 (04:33 +0000)] 
Fixed hierarchical matrices

10 years agoHierarchical array multiplication
keller@cse.unsw.edu.au [Thu, 30 Jul 2009 03:11:32 +0000 (03:11 +0000)] 
Hierarchical array multiplication

10 years agoAdded delayed array evaluation
keller@cse.unsw.edu.au [Thu, 30 Jul 2009 03:10:51 +0000 (03:10 +0000)] 
Added delayed array evaluation

10 years agoGeneration of test values outside of benchmakr
keller@cse.unsw.edu.au [Tue, 21 Jul 2009 05:54:49 +0000 (05:54 +0000)] 
Generation of test values outside of benchmakr

10 years agoAdded missing test file for regular arrays
keller@cse.unsw.edu.au [Tue, 21 Jul 2009 04:51:25 +0000 (04:51 +0000)] 
Added missing test file for regular arrays

10 years agoAdded regular array operations & examples
keller@cse.unsw.edu.au [Tue, 21 Jul 2009 01:20:05 +0000 (01:20 +0000)] 
Added regular array operations & examples

10 years agoFix dotp and smvm
Roman Leshchinskiy [Mon, 20 Jul 2009 04:44:06 +0000 (04:44 +0000)] 
Fix dotp and smvm

10 years agoAdded default backpermute
keller@cse.unsw.edu.au [Sun, 19 Jul 2009 11:23:06 +0000 (11:23 +0000)] 
Added default backpermute

10 years agoAdd missing file
Roman Leshchinskiy [Mon, 13 Jul 2009 04:46:42 +0000 (04:46 +0000)] 
Add missing file

10 years agoSeparate length from data in array representation
Roman Leshchinskiy [Mon, 13 Jul 2009 04:44:35 +0000 (04:44 +0000)] 
Separate length from data in array representation

10 years agofix FFI import of __hscore_memcpy_dst_off, and add a ToDo 2009-06-25
Simon Marlow [Thu, 18 Jun 2009 11:25:41 +0000 (11:25 +0000)] 
fix FFI import of __hscore_memcpy_dst_off, and add a ToDo

10 years agoUpdate to work with the new IO library internals
Simon Marlow [Thu, 11 Jun 2009 14:10:17 +0000 (14:10 +0000)] 
Update to work with the new IO library internals

10 years agoUse OPTIONS_GHC rather than GHC_OPTIONS and OPTIONS pragmas
Ian Lynagh [Wed, 10 Jun 2009 12:46:39 +0000 (12:46 +0000)] 
Use OPTIONS_GHC rather than GHC_OPTIONS and OPTIONS pragmas

10 years agoUse bang patterns on unlifted bindings
Ian Lynagh [Wed, 3 Jun 2009 22:58:12 +0000 (22:58 +0000)] 
Use bang patterns on unlifted bindings

10 years agoMake the dph packages more consistent with everything else
Ian Lynagh [Sun, 24 May 2009 19:51:37 +0000 (19:51 +0000)] 
Make the dph packages more consistent with everything else

10 years agoCompleted the quickhull benchmark
Manuel M T Chakravarty [Tue, 19 May 2009 04:44:19 +0000 (04:44 +0000)] 
Completed the quickhull benchmark

10 years agoFix strictness of foldlSU
Roman Leshchinskiy [Mon, 18 May 2009 04:00:01 +0000 (04:00 +0000)] 
Fix strictness of foldlSU

10 years agoMake sure replicatelPA_Int# is inlined
Roman Leshchinskiy [Mon, 18 May 2009 03:59:37 +0000 (03:59 +0000)] 
Make sure replicatelPA_Int# is inlined

10 years agoBenchmark driver script
Manuel M T Chakravarty [Sun, 17 May 2009 12:08:27 +0000 (12:08 +0000)] 
Benchmark driver script

10 years agoAdapt examples makefile to new build locations
Manuel M T Chakravarty [Fri, 15 May 2009 05:19:56 +0000 (05:19 +0000)] 
Adapt examples makefile to new build locations

10 years agoFix bindists and installation of dph
Ian Lynagh [Sat, 16 May 2009 12:46:15 +0000 (12:46 +0000)] 
Fix bindists and installation of dph

10 years agoCopy LICENSE to the root to make GHC's build system happy
Ian Lynagh [Fri, 15 May 2009 23:22:39 +0000 (23:22 +0000)] 
Copy LICENSE to the root to make GHC's build system happy

10 years agoAdd ghc-stage files
Roman Leshchinskiy [Tue, 5 May 2009 05:40:39 +0000 (05:40 +0000)] 
Add ghc-stage files

10 years agoAdapt to new build system
Roman Leshchinskiy [Tue, 5 May 2009 03:34:31 +0000 (03:34 +0000)] 
Adapt to new build system

10 years agoFix bug in replicateSUP
Roman Leshchinskiy [Tue, 28 Apr 2009 03:50:30 +0000 (03:50 +0000)] 
Fix bug in replicateSUP

10 years agoAdd accessors for distributed segment descriptors
Roman Leshchinskiy [Tue, 28 Apr 2009 03:49:51 +0000 (03:49 +0000)] 
Add accessors for distributed segment descriptors

10 years agoUse -fsimplifier-phases=3 for sumsq
Roman Leshchinskiy [Fri, 24 Apr 2009 04:17:55 +0000 (04:17 +0000)] 
Use -fsimplifier-phases=3 for sumsq

10 years agoMake mkClosure CONLIKE and add a rule for mkClosure/($:)
Roman Leshchinskiy [Fri, 24 Apr 2009 04:17:36 +0000 (04:17 +0000)] 
Make mkClosure CONLIKE and add a rule for mkClosure/($:)

10 years agoMake sure GHC can figure out the strictness of foldlU
Roman Leshchinskiy [Fri, 24 Apr 2009 04:17:02 +0000 (04:17 +0000)] 
Make sure GHC can figure out the strictness of foldlU

10 years agoHack around segdPA# not being inlined
Roman Leshchinskiy [Fri, 24 Apr 2009 04:16:39 +0000 (04:16 +0000)] 
Hack around segdPA# not being inlined

10 years agoAdd rules for Segd operations
Roman Leshchinskiy [Fri, 24 Apr 2009 04:16:16 +0000 (04:16 +0000)] 
Add rules for Segd operations

10 years agoMark copyMBU as INLINE
Roman Leshchinskiy [Thu, 23 Apr 2009 12:04:50 +0000 (12:04 +0000)] 
Mark copyMBU as INLINE

10 years agoResolve conflicts
Roman Leshchinskiy [Wed, 22 Apr 2009 03:39:22 +0000 (03:39 +0000)] 
Resolve conflicts

10 years agoRemove SUArr
Roman Leshchinskiy [Wed, 22 Apr 2009 02:37:43 +0000 (02:37 +0000)] 
Remove SUArr

This is a very big patch which removes all traces (hopefully) of the SUArr
data type. The new convention is to pass segment descriptors and data arrays
separately. A lot of segmented operations have been deleted since they don't
make sense any more. Some operations (such as packCU/packCUP) do make sense
but should be implemented in terms of the abstract backend interface, much
like repeat_c is now.

At the moment, fusion for segmented operations is rather limited which is not
a big change from before. Also, the lifted library must be reorganised a
little to take full advantage of the new backend interface. Some examples have
not been adapted to the new interface yet.

10 years agoNuke D.A.P.Unlifted.Sequential.Segmented.Stream
Roman Leshchinskiy [Mon, 6 Apr 2009 05:11:00 +0000 (05:11 +0000)] 
Nuke D.A.P.Unlifted.Sequential.Segmented.Stream

10 years agoRemove streamSU and unstreamSU
Roman Leshchinskiy [Mon, 6 Apr 2009 05:06:24 +0000 (05:06 +0000)] 
Remove streamSU and unstreamSU

10 years agoRemove SStream and friends
Roman Leshchinskiy [Mon, 6 Apr 2009 05:05:12 +0000 (05:05 +0000)] 
Remove SStream and friends

10 years agoRemove SArray and related functions from the backend interface
Roman Leshchinskiy [Mon, 6 Apr 2009 04:11:21 +0000 (04:11 +0000)] 
Remove SArray and related functions from the backend interface

10 years agoUse -fsimplifier-phases=3 for matmult
Roman Leshchinskiy [Wed, 25 Mar 2009 10:08:12 +0000 (10:08 +0000)] 
Use -fsimplifier-phases=3 for matmult

10 years agoAdded regular fold, sum (parallel and sequential)
keller@cse.unsw.edu.au [Tue, 21 Apr 2009 01:02:02 +0000 (01:02 +0000)] 
Added regular fold, sum (parallel and sequential)

10 years agoAdded regular segmented foldValuesR
keller@cse.unsw.edu.au [Tue, 14 Apr 2009 01:28:39 +0000 (01:28 +0000)] 
Added regular segmented foldValuesR

10 years agoChanges to MatrixMult
keller@cse.unsw.edu.au [Tue, 14 Apr 2009 01:27:27 +0000 (01:27 +0000)] 
Changes to MatrixMult

10 years agoAdd a couple of INLINE pragmas
Roman Leshchinskiy [Wed, 25 Mar 2009 01:42:02 +0000 (01:42 +0000)] 
Add a couple of INLINE pragmas

10 years agoAdd defines for fusion phases
Roman Leshchinskiy [Wed, 25 Mar 2009 01:41:49 +0000 (01:41 +0000)] 
Add defines for fusion phases

10 years agoAdd repeatCUP
Roman Leshchinskiy [Wed, 25 Mar 2009 01:41:14 +0000 (01:41 +0000)] 
Add repeatCUP

10 years agoRewrite repeatCU
Roman Leshchinskiy [Wed, 25 Mar 2009 01:40:50 +0000 (01:40 +0000)] 
Rewrite repeatCU

10 years agoChanged segd in MatrixPrim
keller@cse.unsw.edu.au [Tue, 24 Mar 2009 02:08:51 +0000 (02:08 +0000)] 
Changed segd in MatrixPrim

10 years agoFixed repeatCUS
keller@cse.unsw.edu.au [Tue, 24 Mar 2009 00:53:18 +0000 (00:53 +0000)] 
Fixed repeatCUS

10 years agoFix comment
Roman Leshchinskiy [Mon, 23 Mar 2009 06:02:58 +0000 (06:02 +0000)] 
Fix comment

10 years agoFix repeatUP
Roman Leshchinskiy [Mon, 23 Mar 2009 06:02:43 +0000 (06:02 +0000)] 
Fix repeatUP

10 years agofixed bug in mmult
keller@cse.unsw.edu.au [Mon, 23 Mar 2009 04:10:02 +0000 (04:10 +0000)] 
fixed bug in mmult

10 years agoadded Matrix.hs
keller@cse.unsw.edu.au [Mon, 23 Mar 2009 00:28:56 +0000 (00:28 +0000)] 
added Matrix.hs

10 years agoFixed fn names
keller@cse.unsw.edu.au [Mon, 23 Mar 2009 00:26:42 +0000 (00:26 +0000)] 
Fixed fn names

10 years agoFixed enumFromStepLenEach bug, added example
keller@cse.unsw.edu.au [Fri, 20 Mar 2009 13:33:05 +0000 (13:33 +0000)] 
Fixed enumFromStepLenEach bug, added example

10 years agoAdded enumFromStepLenEach
keller@cse.unsw.edu.au [Wed, 18 Mar 2009 04:41:22 +0000 (04:41 +0000)] 
Added enumFromStepLenEach

10 years agoMake replicate CONLIKE
Roman Leshchinskiy [Thu, 19 Mar 2009 00:44:44 +0000 (00:44 +0000)] 
Make replicate CONLIKE

10 years agoAdd a CORE pragma which helps GHC + hack to optimise smvm
Roman Leshchinskiy [Mon, 9 Mar 2009 10:24:34 +0000 (10:24 +0000)] 
Add a CORE pragma which helps GHC + hack to optimise smvm

10 years agoAdd a couple of rules for optimising smvm
Roman Leshchinskiy [Mon, 9 Mar 2009 10:24:00 +0000 (10:24 +0000)] 
Add a couple of rules for optimising smvm

10 years agoChange zipWithSUP and mapSUP to what smvm likes
Roman Leshchinskiy [Mon, 9 Mar 2009 10:23:36 +0000 (10:23 +0000)] 
Change zipWithSUP and mapSUP to what smvm likes

10 years agoAdd fold{_s|SU|SUP}' which is strict in the segd and the data array
Roman Leshchinskiy [Mon, 9 Mar 2009 10:22:24 +0000 (10:22 +0000)] 
Add fold{_s|SU|SUP}' which is strict in the segd and the data array

10 years agoAdd a rule for replicatePA_Int# because GHC won't inline it
Roman Leshchinskiy [Mon, 9 Mar 2009 10:21:37 +0000 (10:21 +0000)] 
Add a rule for replicatePA_Int# because GHC won't inline it

10 years ago Pass the length of the argument array explicity to repeat{PR|PA|U}
Roman Leshchinskiy [Mon, 9 Mar 2009 10:18:28 +0000 (10:18 +0000)] 
 Pass the length of the argument array explicity to repeat{PR|PA|U}

10 years agoCompletely wrong rewrite rule, just to make smvm happy
Roman Leshchinskiy [Sun, 8 Mar 2009 11:21:59 +0000 (11:21 +0000)] 
Completely wrong rewrite rule, just to make smvm happy

10 years agoUse -fsimplifier-phases=3 when compiling smvm
Roman Leshchinskiy [Sun, 8 Mar 2009 10:43:58 +0000 (10:43 +0000)] 
Use -fsimplifier-phases=3 when compiling smvm

10 years agoAdd export
Roman Leshchinskiy [Sun, 8 Mar 2009 10:36:21 +0000 (10:36 +0000)] 
Add export

10 years agoSmall refactoring
Roman Leshchinskiy [Sun, 8 Mar 2009 10:35:58 +0000 (10:35 +0000)] 
Small refactoring

10 years agoA couple of strictness fixes
Roman Leshchinskiy [Sun, 8 Mar 2009 10:32:44 +0000 (10:32 +0000)] 
A couple of strictness fixes

10 years agoAdd strictness annotation
Roman Leshchinskiy [Sun, 8 Mar 2009 10:31:31 +0000 (10:31 +0000)] 
Add strictness annotation

10 years agoAdd seperate INLINE_BACKEND phase for stuff from Data.Array.Parallel.Unlifted
Roman Leshchinskiy [Sun, 8 Mar 2009 10:30:13 +0000 (10:30 +0000)] 
Add seperate INLINE_BACKEND phase for stuff from Data.Array.Parallel.Unlifted

10 years agoExport and use enumFromStepLen
Roman Leshchinskiy [Sun, 8 Mar 2009 10:28:46 +0000 (10:28 +0000)] 
Export and use enumFromStepLen

10 years agoAdd repeatcPR
Roman Leshchinskiy [Sun, 8 Mar 2009 10:25:20 +0000 (10:25 +0000)] 
Add repeatcPR

10 years agoAdd repeatCU/repeat_c
Roman Leshchinskiy [Sun, 8 Mar 2009 01:40:32 +0000 (01:40 +0000)] 
Add repeatCU/repeat_c

10 years agoAdd rule for foldValuesSS/SStream
Roman Leshchinskiy [Sun, 8 Mar 2009 01:40:07 +0000 (01:40 +0000)] 
Add rule for foldValuesSS/SStream

10 years agoAdd zip3S
Roman Leshchinskiy [Sat, 7 Mar 2009 14:56:39 +0000 (14:56 +0000)] 
Add zip3S

10 years agoRewrite bpermuteU slightly
Roman Leshchinskiy [Sat, 7 Mar 2009 13:28:51 +0000 (13:28 +0000)] 
Rewrite bpermuteU slightly

10 years agoFix strictness of repeatU
Roman Leshchinskiy [Sat, 7 Mar 2009 13:28:21 +0000 (13:28 +0000)] 
Fix strictness of repeatU

10 years agoAdd strictness annotation
Roman Leshchinskiy [Sat, 7 Mar 2009 13:28:00 +0000 (13:28 +0000)] 
Add strictness annotation

10 years agoFix strictness of bpermutePA and add extractPA
Roman Leshchinskiy [Sat, 7 Mar 2009 13:25:36 +0000 (13:25 +0000)] 
Fix strictness of bpermutePA and add extractPA

10 years agoFix ddummy definition of fromNestedPArrayP
Roman Leshchinskiy [Sat, 7 Mar 2009 04:38:21 +0000 (04:38 +0000)] 
Fix ddummy definition of fromNestedPArrayP

10 years agoAdapted Quickhull example to new framework
Manuel M T Chakravarty [Fri, 6 Mar 2009 14:58:48 +0000 (14:58 +0000)] 
Adapted Quickhull example to new framework