packages/dph.git
7 years agodph-lifted-vseg: push Arrays type into Scalar module
Ben Lippmeier [Mon, 5 Dec 2011 04:35:15 +0000 (15:35 +1100)] 
dph-lifted-vseg: push Arrays type into Scalar module

7 years agodph-lifted-vseg: change order of args for extracts
Ben Lippmeier [Mon, 5 Dec 2011 04:09:11 +0000 (15:09 +1100)] 
dph-lifted-vseg: change order of args for extracts

7 years agodph-lifted-vseg: push Arrays into Int and Words instances
Ben Lippmeier [Mon, 5 Dec 2011 03:57:41 +0000 (14:57 +1100)] 
dph-lifted-vseg: push Arrays into Int and Words instances

7 years agodpg-lifted-vseg: export Arrays type from prim library and use if for PArray double
Ben Lippmeier [Mon, 5 Dec 2011 03:07:22 +0000 (14:07 +1100)] 
dpg-lifted-vseg: export Arrays type from prim library and use if for PArray double

7 years agodph-prim-seq: better docs for vectors module, and add to cabal file
Ben Lippmeier [Fri, 2 Dec 2011 09:04:53 +0000 (20:04 +1100)] 
dph-prim-seq: better docs for vectors module, and add to cabal file

7 years agodph-prim-seq: add Vectors module and better version of extracts
Ben Lippmeier [Fri, 2 Dec 2011 08:43:48 +0000 (19:43 +1100)] 
dph-prim-seq: add Vectors module and better version of extracts

7 years agodph-lifted-vseg: add some inlines back
Ben Lippmeier [Thu, 1 Dec 2011 02:03:31 +0000 (13:03 +1100)] 
dph-lifted-vseg: add some inlines back

7 years agoActually remove -dcore-lint
Ben Lippmeier [Tue, 29 Nov 2011 07:19:10 +0000 (18:19 +1100)] 
Actually remove -dcore-lint

7 years agoRefactor extracts to take a SSegd directly.
Ben Lippmeier [Tue, 29 Nov 2011 06:44:40 +0000 (17:44 +1100)] 
Refactor extracts to take a SSegd directly.

7 years agoRemove -dcore-lint again because ghc-cabal doesn't like it
Ben Lippmeier [Tue, 29 Nov 2011 06:44:00 +0000 (17:44 +1100)] 
Remove -dcore-lint again because ghc-cabal doesn't like it

7 years agoUse unsafe indexing, and strictify some things
Ben Lippmeier [Tue, 29 Nov 2011 05:32:22 +0000 (16:32 +1100)] 
Use unsafe indexing, and strictify some things

7 years agodph-lifted-base: turn off debugging
Ben Lippmeier [Tue, 29 Nov 2011 05:30:56 +0000 (16:30 +1100)] 
dph-lifted-base: turn off debugging

7 years agodph-lifted-vseg: unbreak PR Double instance
Ben Lippmeier [Tue, 29 Nov 2011 02:38:50 +0000 (13:38 +1100)] 
dph-lifted-vseg: unbreak PR Double instance

7 years agodph-lifted-base: refactoring tracing support
Ben Lippmeier [Tue, 29 Nov 2011 02:37:48 +0000 (13:37 +1100)] 
dph-lifted-base: refactoring tracing support

7 years agoUse consistent module name qualifiers
Ben Lippmeier [Fri, 25 Nov 2011 04:48:38 +0000 (15:48 +1100)] 
Use consistent module name qualifiers

7 years agoTurn on core-lint all the time.
Ben Lippmeier [Fri, 25 Nov 2011 04:45:35 +0000 (15:45 +1100)] 
Turn on core-lint all the time.

7 years agoUpdate package names in makefile
Ben Lippmeier [Fri, 25 Nov 2011 04:44:59 +0000 (15:44 +1100)] 
Update package names in makefile

7 years agoWarning police
Manuel M T Chakravarty [Sat, 26 Nov 2011 14:06:52 +0000 (01:06 +1100)] 
Warning police

7 years agoRemove duplicate VECTORISE pragmas
Manuel M T Chakravarty [Sat, 26 Nov 2011 14:04:29 +0000 (01:04 +1100)] 
Remove duplicate VECTORISE pragmas

7 years agoD.A.P.Prelude.Base provides basic entries in the vectorisation map
Manuel M T Chakravarty [Sat, 26 Nov 2011 13:20:49 +0000 (00:20 +1100)] 
D.A.P.Prelude.Base provides basic entries in the vectorisation map

7 years agoWibble
Manuel M T Chakravarty [Wed, 23 Nov 2011 04:09:52 +0000 (15:09 +1100)] 
Wibble

7 years agodph-examples: move visibility to broken because it's not finished
Ben Lippmeier [Tue, 22 Nov 2011 07:46:05 +0000 (18:46 +1100)] 
dph-examples: move visibility to broken because it's not finished

7 years agodph-examples: add some more broken tests
Ben Lippmeier [Tue, 22 Nov 2011 07:43:59 +0000 (18:43 +1100)] 
dph-examples: add some more broken tests

7 years agodph-lifted-copy: follow changes in vectoriser API
Ben Lippmeier [Tue, 22 Nov 2011 07:31:43 +0000 (18:31 +1100)] 
dph-lifted-copy: follow changes in vectoriser API

7 years agodph-examples: reorganise and cleanup directory structure
Ben Lippmeier [Tue, 22 Nov 2011 07:14:55 +0000 (18:14 +1100)] 
dph-examples: reorganise and cleanup directory structure

also enable -dcore-lint for all examples.

7 years agodph-lifted-vseg: export pvoids# and lengthSels2
Ben Lippmeier [Tue, 22 Nov 2011 05:50:30 +0000 (16:50 +1100)] 
dph-lifted-vseg: export pvoids# and lengthSels2

7 years agodph-lifted-boxed: follow name changes in prim library
Ben Lippmeier [Mon, 21 Nov 2011 07:28:34 +0000 (18:28 +1100)] 
dph-lifted-boxed: follow name changes in prim library

7 years agogitignore
Ben Lippmeier [Mon, 21 Nov 2011 07:01:07 +0000 (18:01 +1100)] 
gitignore

7 years agodph-lifted-vseg: follow name changes and reinstate some INLINEs
Ben Lippmeier [Mon, 21 Nov 2011 07:00:58 +0000 (18:00 +1100)] 
dph-lifted-vseg: follow name changes and reinstate some INLINEs

7 years agodph-prim-seq: comments and cleanup
Ben Lippmeier [Mon, 21 Nov 2011 06:42:32 +0000 (17:42 +1100)] 
dph-prim-seq: comments and cleanup

7 years agodph-prim-par: haddocks and cleanup
Ben Lippmeier [Mon, 21 Nov 2011 05:49:03 +0000 (16:49 +1100)] 
dph-prim-par: haddocks and cleanup

7 years agodph-examples: fix bug in words
Ben Lippmeier [Thu, 17 Nov 2011 05:35:24 +0000 (16:35 +1100)] 
dph-examples: fix bug in words

7 years agogitignore
Ben Lippmeier [Thu, 17 Nov 2011 05:35:08 +0000 (16:35 +1100)] 
gitignore

7 years agoWind back INLINEs to make nbody compile
Ben Lippmeier [Thu, 17 Nov 2011 05:34:52 +0000 (16:34 +1100)] 
Wind back INLINEs to make nbody compile

7 years agodph-lifted-vseg: fix warning
Ben Lippmeier [Thu, 17 Nov 2011 03:31:53 +0000 (14:31 +1100)] 
dph-lifted-vseg: fix warning

7 years agoMerge /Users/benl/devel/dph/dph-head-devel
Ben Lippmeier [Thu, 17 Nov 2011 02:35:13 +0000 (13:35 +1100)] 
Merge /Users/benl/devel/dph/dph-head-devel

Conflicts:
dph-lifted-copy/Data/Array/Parallel/PArray/PDataInstances.hs

7 years agoMake a type synonym Sels2 for the vector of sels in PDatas Sum2 instance
Ben Lippmeier [Thu, 17 Nov 2011 02:34:13 +0000 (13:34 +1100)] 
Make a type synonym Sels2 for the vector of sels in PDatas Sum2 instance

7 years agodph-lifted-vseg: fix warnings
Ben Lippmeier [Thu, 17 Nov 2011 02:33:10 +0000 (13:33 +1100)] 
dph-lifted-vseg: fix warnings

7 years agoFix merge
Ben Lippmeier [Thu, 17 Nov 2011 01:39:08 +0000 (12:39 +1100)] 
Fix merge

7 years agoMerge /Users/benl/devel/dph/dph-head-devel
Ben Lippmeier [Thu, 17 Nov 2011 01:37:50 +0000 (12:37 +1100)] 
Merge /Users/benl/devel/dph/dph-head-devel

Conflicts:
dph-examples/dph-examples.cabal
dph-examples/dph-examples.template

7 years agodph-lifted-vseg: don't store the tags separately in sums
Ben Lippmeier [Thu, 17 Nov 2011 01:26:51 +0000 (12:26 +1100)] 
dph-lifted-vseg: don't store the tags separately in sums

7 years agodph-examples: update makefile and NOINLINEs to words
Ben Lippmeier [Thu, 17 Nov 2011 01:26:29 +0000 (12:26 +1100)] 
dph-examples: update makefile and NOINLINEs to words

7 years agodph-examples: fixes to nbody
Ben Lippmeier [Tue, 15 Nov 2011 23:54:32 +0000 (10:54 +1100)] 
dph-examples: fixes to nbody

7 years agodph-lifted-copy: add defs to match the new vectoriser API
Ben Lippmeier [Tue, 15 Nov 2011 23:53:35 +0000 (10:53 +1100)] 
dph-lifted-copy: add defs to match the new vectoriser API

7 years agodph-lifted-vseg: add tuple and closure instances up to arity 5
Ben Lippmeier [Tue, 15 Nov 2011 06:54:43 +0000 (17:54 +1100)] 
dph-lifted-vseg: add tuple and closure instances up to arity 5

7 years agodph-lifted-vseg: reformat Tuple2 module before we duplicate it
Ben Lippmeier [Tue, 15 Nov 2011 03:57:56 +0000 (14:57 +1100)] 
dph-lifted-vseg: reformat Tuple2 module before we duplicate it

7 years agogitignore
Ben Lippmeier [Tue, 15 Nov 2011 03:56:03 +0000 (14:56 +1100)] 
gitignore

7 years agodph-lifted-vseg: export (/) from Prelude
Ben Lippmeier [Tue, 15 Nov 2011 03:55:53 +0000 (14:55 +1100)] 
dph-lifted-vseg: export (/) from Prelude

7 years agodph-examples: add parseargs
Ben Lippmeier [Tue, 15 Nov 2011 03:55:35 +0000 (14:55 +1100)] 
dph-examples: add parseargs

7 years agodph-lifted-copy: exports to match dph-lifted-vseg
Ben Lippmeier [Tue, 15 Nov 2011 03:55:09 +0000 (14:55 +1100)] 
dph-lifted-copy: exports to match dph-lifted-vseg

7 years agodph-lifted-vseg: rename Tuple modules to Tuple2
Ben Lippmeier [Tue, 15 Nov 2011 03:54:46 +0000 (14:54 +1100)] 
dph-lifted-vseg: rename Tuple modules to Tuple2

7 years agodph-examples: cabal files wibbles
Ben Lippmeier [Sat, 12 Nov 2011 11:56:48 +0000 (22:56 +1100)] 
dph-examples: cabal files wibbles

make dph-lifted-vseg the default, and disable nbody test because parseargs is broken against the GHC head.

7 years agogitignore
Ben Lippmeier [Sat, 12 Nov 2011 04:53:28 +0000 (15:53 +1100)] 
gitignore

7 years agoghc build goop
Ben Lippmeier [Sat, 12 Nov 2011 04:53:18 +0000 (15:53 +1100)] 
ghc build goop

7 years agoReorganise the way the lifted reference implementation works
Ben Lippmeier [Fri, 11 Nov 2011 10:38:44 +0000 (21:38 +1100)] 
Reorganise the way the lifted reference implementation works

The lifted reference implementation is now in dph-lifted-base. The PArray functions there have no PA dictionaries. We need this for comparing against other PArray functions, but it means this module can't be used with the vectoriser by itself. The dph-lifted-boxed package will contain the functions that take PA dictionaries, and can be used with the vectoriser.

7 years agogitignore
Ben Lippmeier [Fri, 11 Nov 2011 06:34:46 +0000 (17:34 +1100)] 
gitignore

7 years agoUpdate GHC build system goop
Ben Lippmeier [Fri, 11 Nov 2011 06:34:38 +0000 (17:34 +1100)] 
Update GHC build system goop

7 years agoRemove duplicate code that is now in dph-examples
Ben Lippmeier [Fri, 11 Nov 2011 05:27:45 +0000 (16:27 +1100)] 
Remove duplicate code that is now in dph-examples

7 years agoRename dph-common -> dph-lifted-copy
Ben Lippmeier [Fri, 11 Nov 2011 04:29:56 +0000 (15:29 +1100)] 
Rename dph-common -> dph-lifted-copy

We're installing the lifted library directly now, instead of going via dph-par and dph-seq.

7 years agodph-lifted-boxed: cabal file wibble
Ben Lippmeier [Fri, 11 Nov 2011 04:20:48 +0000 (15:20 +1100)] 
dph-lifted-boxed: cabal file wibble

7 years agodph-lifted-vseg: Export Word8 prelude module
Ben Lippmeier [Fri, 11 Nov 2011 04:20:27 +0000 (15:20 +1100)] 
dph-lifted-vseg: Export Word8 prelude module

7 years agodph-lifted-vseg: turn bounds checking back on
Ben Lippmeier [Fri, 11 Nov 2011 04:20:08 +0000 (15:20 +1100)] 
dph-lifted-vseg: turn bounds checking back on

7 years agodph-lifted-vseg: rename takeSegd back to takeUSegd
Ben Lippmeier [Fri, 11 Nov 2011 04:19:32 +0000 (15:19 +1100)] 
dph-lifted-vseg: rename takeSegd back to takeUSegd

7 years agodph-examples: dump rules to compile examples in seq way
Ben Lippmeier [Fri, 11 Nov 2011 03:54:08 +0000 (14:54 +1100)] 
dph-examples: dump rules to compile examples in seq way

7 years agodph-lifted-vseg: add placeholder for crossMapP
Ben Lippmeier [Fri, 11 Nov 2011 03:50:47 +0000 (14:50 +1100)] 
dph-lifted-vseg: add placeholder for crossMapP

7 years agoRename dph-lifted-reference -> dph-lifted-boxed and add the rest of the PArray functions
Ben Lippmeier [Fri, 11 Nov 2011 02:52:54 +0000 (13:52 +1100)] 
Rename dph-lifted-reference -> dph-lifted-boxed and add the rest of the PArray functions

7 years agodph-lifted-vseg: cleanup and fix haddocs
Ben Lippmeier [Thu, 10 Nov 2011 03:42:38 +0000 (14:42 +1100)] 
dph-lifted-vseg: cleanup and fix haddocs

7 years agodph-lifted-vseg: make indexsPR (shared indexing) primitive instead of indexlPR (lifte...
Ben Lippmeier [Thu, 10 Nov 2011 08:08:59 +0000 (19:08 +1100)] 
dph-lifted-vseg: make indexsPR (shared indexing) primitive instead of indexlPR (lifted indexing)

7 years agodph-lifted-vseg: add docs for Sum2 packByTag
Ben Lippmeier [Thu, 10 Nov 2011 06:19:11 +0000 (17:19 +1100)] 
dph-lifted-vseg: add docs for Sum2 packByTag

7 years agodph-lifted-vseg: port across Sum2 methods from dph-common
Ben Lippmeier [Thu, 10 Nov 2011 05:56:28 +0000 (16:56 +1100)] 
dph-lifted-vseg: port across Sum2 methods from dph-common

7 years agodph-lifted-vseg: add bpermute for nested arrays
Ben Lippmeier [Thu, 10 Nov 2011 05:56:13 +0000 (16:56 +1100)] 
dph-lifted-vseg: add bpermute for nested arrays

7 years agodpg-test: follow naming wibbles in dph-base
Ben Lippmeier [Thu, 10 Nov 2011 05:55:36 +0000 (16:55 +1100)] 
dpg-test: follow naming wibbles in dph-base

7 years agodph-lifted-vseg: fill in missing instances
Ben Lippmeier [Thu, 10 Nov 2011 05:19:04 +0000 (16:19 +1100)] 
dph-lifted-vseg: fill in missing instances

7 years agodph-lifted-vseg: dump concatdPR, nothing was using it
Ben Lippmeier [Thu, 10 Nov 2011 04:05:40 +0000 (15:05 +1100)] 
dph-lifted-vseg: dump concatdPR, nothing was using it

7 years agodph-lifted-vseg: cleanup and fix haddocs
Ben Lippmeier [Thu, 10 Nov 2011 03:42:38 +0000 (14:42 +1100)] 
dph-lifted-vseg: cleanup and fix haddocs

7 years agoGet rid of the -fdph-* flags
Manuel M T Chakravarty [Thu, 10 Nov 2011 07:51:09 +0000 (18:51 +1100)] 
Get rid of the -fdph-* flags

7 years agoApply restricted use of -XParallelArrays to the latest changes in dph-lifted-vseg
Manuel M T Chakravarty [Thu, 10 Nov 2011 06:53:04 +0000 (17:53 +1100)] 
Apply restricted use of -XParallelArrays to the latest changes in dph-lifted-vseg

7 years agoDon't use -XParallelArrays before Data.Array.Parallel gets compiled
Manuel M T Chakravarty [Thu, 10 Nov 2011 06:18:52 +0000 (17:18 +1100)] 
Don't use -XParallelArrays before Data.Array.Parallel gets compiled

7 years agodph-examples: turn of specconstr and comment out currently broken examples using...
Ben Lippmeier [Wed, 9 Nov 2011 05:27:42 +0000 (16:27 +1100)] 
dph-examples: turn of specconstr and comment out currently broken examples using the dph-seq way

7 years agodph-lifted-vseg: docs and cleanup
Ben Lippmeier [Wed, 9 Nov 2011 05:22:14 +0000 (16:22 +1100)] 
dph-lifted-vseg: docs and cleanup

7 years agowibble
Ben Lippmeier [Wed, 9 Nov 2011 04:56:16 +0000 (15:56 +1100)] 
wibble

7 years agoShift unlifted extracts into prim library
Ben Lippmeier [Wed, 9 Nov 2011 04:56:01 +0000 (15:56 +1100)] 
Shift unlifted extracts into prim library

7 years agodpg-lifted-vseg: fix all warnings
Ben Lippmeier [Wed, 9 Nov 2011 03:56:31 +0000 (14:56 +1100)] 
dpg-lifted-vseg: fix all warnings

7 years agodph-lifted-vseg: add Word8 and missing prelude functions
Ben Lippmeier [Wed, 9 Nov 2011 03:30:10 +0000 (14:30 +1100)] 
dph-lifted-vseg: add Word8 and missing prelude functions

7 years agodph-examples: follow changes in PArray API
Ben Lippmeier [Wed, 9 Nov 2011 02:30:47 +0000 (13:30 +1100)] 
dph-examples: follow changes in PArray API

7 years agodph-examples: traceEvent is now traceEventIO
Ben Lippmeier [Wed, 9 Nov 2011 02:24:29 +0000 (13:24 +1100)] 
dph-examples: traceEvent is now traceEventIO

7 years agodph-common: bump version and export Prelude.Bool
Ben Lippmeier [Wed, 9 Nov 2011 02:24:07 +0000 (13:24 +1100)] 
dph-common: bump version and export Prelude.Bool

7 years agodph-prim-interface: dump unused rules
Ben Lippmeier [Wed, 9 Nov 2011 02:23:28 +0000 (13:23 +1100)] 
dph-prim-interface: dump unused rules

7 years agodph-examples: follow name changes in PArray API
Ben Lippmeier [Wed, 9 Nov 2011 02:13:55 +0000 (13:13 +1100)] 
dph-examples: follow name changes in PArray API

7 years agodph-lifted-vseg: docs and cleanups
Ben Lippmeier [Wed, 9 Nov 2011 02:12:30 +0000 (13:12 +1100)] 
dph-lifted-vseg: docs and cleanups

7 years agodph-lifted-vseg: formatting
Ben Lippmeier [Wed, 9 Nov 2011 00:52:48 +0000 (11:52 +1100)] 
dph-lifted-vseg: formatting

7 years agodph-lifted-vsegd: write toNestedArrPRepr in terms of toArrPReprs
Ben Lippmeier [Tue, 8 Nov 2011 10:48:43 +0000 (21:48 +1100)] 
dph-lifted-vsegd: write toNestedArrPRepr in terms of toArrPReprs

7 years agodph-lifted-vseg: shift reference implementation harness to its own module and cleanup
Ben Lippmeier [Tue, 8 Nov 2011 10:29:56 +0000 (21:29 +1100)] 
dph-lifted-vseg: shift reference implementation harness to its own module and cleanup

7 years agodph-lifted-vseg: eliminate sharing in arrays during zipl
Ben Lippmeier [Tue, 8 Nov 2011 09:55:51 +0000 (20:55 +1100)] 
dph-lifted-vseg: eliminate sharing in arrays during zipl

With lifted zip, we can't guarantee that the two arrays were created in the same way, so have to eliminate sharing via the vsegds before zipping the components.

7 years agodph-lifted-vseg: rejig the pretty printer to handle void arrays
Ben Lippmeier [Tue, 8 Nov 2011 06:43:00 +0000 (17:43 +1100)] 
dph-lifted-vseg: rejig the pretty printer to handle void arrays

7 years agoCompare PArray functions against reference implementation
Ben Lippmeier [Tue, 8 Nov 2011 04:53:16 +0000 (15:53 +1100)] 
Compare PArray functions against reference implementation

7 years agodph-base: add Array compatibility module
Ben Lippmeier [Mon, 7 Nov 2011 06:50:05 +0000 (17:50 +1100)] 
dph-base: add Array compatibility module

7 years agodph-lifted-vseg: fix bug in replicatel
Ben Lippmeier [Mon, 7 Nov 2011 05:24:49 +0000 (16:24 +1100)] 
dph-lifted-vseg: fix bug in replicatel

7 years agodph-lifted-vseg: add docs for Sum2 extracts
Ben Lippmeier [Mon, 7 Nov 2011 04:28:49 +0000 (15:28 +1100)] 
dph-lifted-vseg: add docs for Sum2 extracts

7 years agodph-test: port across extracts1 test for PArrays
Ben Lippmeier [Mon, 7 Nov 2011 03:07:52 +0000 (14:07 +1100)] 
dph-test: port across extracts1 test for PArrays