packages/dph.git
7 years agodph-prim-seq: shift indexs
Ben Lippmeier [Fri, 16 Dec 2011 06:03:56 +0000 (17:03 +1100)] 
dph-prim-seq: shift indexs

7 years agodph-lifted-vseg: always demand result of fromScalar, and add note.
Ben Lippmeier [Fri, 16 Dec 2011 04:54:01 +0000 (15:54 +1100)] 
dph-lifted-vseg: always demand result of fromScalar, and add note.

7 years agodph-prim: formatting only
Ben Lippmeier [Fri, 16 Dec 2011 04:01:35 +0000 (15:01 +1100)] 
dph-prim: formatting only

7 years agodph-prim-seq: add missing indexs and extracts functions
Ben Lippmeier [Fri, 16 Dec 2011 03:55:49 +0000 (14:55 +1100)] 
dph-prim-seq: add missing indexs and extracts functions

7 years agodph-prim-par: naming wibble
Ben Lippmeier [Fri, 16 Dec 2011 03:47:15 +0000 (14:47 +1100)] 
dph-prim-par: naming wibble

7 years agodph-prim-par: enable -Wall and fix all warnings
Ben Lippmeier [Fri, 16 Dec 2011 03:44:58 +0000 (14:44 +1100)] 
dph-prim-par: enable -Wall and fix all warnings

7 years agodph-prim: split out extracts functions into their own modules
Ben Lippmeier [Fri, 16 Dec 2011 03:32:58 +0000 (14:32 +1100)] 
dph-prim: split out extracts functions into their own modules

7 years agodph-prim-seq: do redundant / manifest split in UVSegd
Ben Lippmeier [Fri, 16 Dec 2011 03:22:22 +0000 (14:22 +1100)] 
dph-prim-seq: do redundant / manifest split in UVSegd

7 years agodph-prim-seq: use ArrayArray for Vectors
Ben Lippmeier [Fri, 16 Dec 2011 02:24:29 +0000 (13:24 +1100)] 
dph-prim-seq: use ArrayArray for Vectors

7 years agodph-prim-seq: add ArrayArray module
Ben Lippmeier [Fri, 16 Dec 2011 01:45:42 +0000 (12:45 +1100)] 
dph-prim-seq: add ArrayArray module

7 years agodph-prim-seq: wibble
Ben Lippmeier [Thu, 15 Dec 2011 08:23:17 +0000 (19:23 +1100)] 
dph-prim-seq: wibble

7 years agodph-prim-seq: fix bug in streamSegs with wrong lengths field being used
Ben Lippmeier [Thu, 15 Dec 2011 08:22:59 +0000 (19:22 +1100)] 
dph-prim-seq: fix bug in streamSegs with wrong lengths field being used

7 years agodph-examples: add specconstr back
Ben Lippmeier [Thu, 15 Dec 2011 08:22:05 +0000 (19:22 +1100)] 
dph-examples: add specconstr back

7 years agoAdd stream functions for VSegd and shortcut fold_ss of a promoted Segd
Ben Lippmeier [Thu, 15 Dec 2011 07:19:48 +0000 (18:19 +1100)] 
Add stream functions for VSegd and shortcut fold_ss of a promoted Segd

7 years agodph-lifted-vseg: use U.extracts_avs
Ben Lippmeier [Tue, 13 Dec 2011 09:09:39 +0000 (20:09 +1100)] 
dph-lifted-vseg: use U.extracts_avs

7 years agodph-lifted-vseg: turn on new stream function for indexs
Ben Lippmeier [Tue, 13 Dec 2011 09:01:26 +0000 (20:01 +1100)] 
dph-lifted-vseg: turn on new stream function for indexs

7 years agodph-lifted-vseg: refactor to make mkPNested take the new fields
Ben Lippmeier [Tue, 13 Dec 2011 07:36:13 +0000 (18:36 +1100)] 
dph-lifted-vseg: refactor to make mkPNested take the new fields

7 years agodph-lifted-vseg: refactor to eliminate old pnested projection functions
Ben Lippmeier [Tue, 13 Dec 2011 07:17:33 +0000 (18:17 +1100)] 
dph-lifted-vseg: refactor to eliminate old pnested projection functions

7 years agodph-lifted-vseg: comments and cleanup
Ben Lippmeier [Tue, 13 Dec 2011 05:38:14 +0000 (16:38 +1100)] 
dph-lifted-vseg: comments and cleanup

7 years agodph-lifted-vseg: also store pre-demoted segd in nested arrays
Ben Lippmeier [Tue, 13 Dec 2011 05:26:12 +0000 (16:26 +1100)] 
dph-lifted-vseg: also store pre-demoted segd in nested arrays

7 years agodph-lifted-vseg: turn pre-concatenated version of array back on
Ben Lippmeier [Tue, 13 Dec 2011 04:58:16 +0000 (15:58 +1100)] 
dph-lifted-vseg: turn pre-concatenated version of array back on

7 years agodph-examples: don't use deprecated features in ParseArgs
Ben Lippmeier [Tue, 13 Dec 2011 04:37:50 +0000 (15:37 +1100)] 
dph-examples: don't use deprecated features in ParseArgs

7 years agoWarning police
Manuel M T Chakravarty [Tue, 13 Dec 2011 04:10:32 +0000 (15:10 +1100)] 
Warning police

7 years agodph-examples: normalise output to avoid numerical wibbles
Ben Lippmeier [Mon, 12 Dec 2011 06:26:12 +0000 (17:26 +1100)] 
dph-examples: normalise output to avoid numerical wibbles

7 years agodph-prim-seq: formatting only
Ben Lippmeier [Mon, 12 Dec 2011 04:43:41 +0000 (15:43 +1100)] 
dph-prim-seq: formatting only

7 years agodph-test: hacks on PRFuns tests
Ben Lippmeier [Mon, 12 Dec 2011 04:19:54 +0000 (15:19 +1100)] 
dph-test: hacks on PRFuns tests

7 years agodph-prim-seq: imports wibble
Ben Lippmeier [Mon, 12 Dec 2011 04:15:15 +0000 (15:15 +1100)] 
dph-prim-seq: imports wibble

7 years agodph-prim-seq: alloc correctly sized ints
Ben Lippmeier [Mon, 12 Dec 2011 03:16:06 +0000 (14:16 +1100)] 
dph-prim-seq: alloc correctly sized ints

7 years agodph-lifted-boxed: follow name changes
Ben Lippmeier [Mon, 12 Dec 2011 02:06:00 +0000 (13:06 +1100)] 
dph-lifted-boxed: follow name changes

7 years agoRename unsafe stream ops, now that safety depends on config flag in dph-base
Ben Lippmeier [Mon, 12 Dec 2011 02:04:19 +0000 (13:04 +1100)] 
Rename unsafe stream ops, now that safety depends on config flag in dph-base

7 years agodph-lifted-vseg: remove leftover import
Ben Lippmeier [Mon, 12 Dec 2011 01:42:30 +0000 (12:42 +1100)] 
dph-lifted-vseg: remove leftover import

7 years agodph-lifted-copy: also used traced indexing in copy backend
Ben Lippmeier [Mon, 12 Dec 2011 01:35:41 +0000 (12:35 +1100)] 
dph-lifted-copy: also used traced indexing in copy backend

7 years agodph-lifted-vseg: banish unchecked indexing and fix bug in indexvsPR
Ben Lippmeier [Mon, 12 Dec 2011 01:29:59 +0000 (12:29 +1100)] 
dph-lifted-vseg: banish unchecked indexing and fix bug in indexvsPR

7 years agodph-prim: add tracing to all indexing operations
Ben Lippmeier [Mon, 12 Dec 2011 00:58:06 +0000 (11:58 +1100)] 
dph-prim: add tracing to all indexing operations

7 years agoMakefile wibbles
Ben Lippmeier [Fri, 9 Dec 2011 08:24:14 +0000 (19:24 +1100)] 
Makefile wibbles

7 years agodph-prim-seq: you can't stream no segments
Ben Lippmeier [Fri, 9 Dec 2011 08:02:34 +0000 (19:02 +1100)] 
dph-prim-seq: you can't stream no segments

7 years agodph-lifted-base: in tracing code, print operator name before anything else.
Ben Lippmeier [Fri, 9 Dec 2011 07:24:12 +0000 (18:24 +1100)] 
dph-lifted-base: in tracing code, print operator name before anything else.

Previously, if the array pretty printer died we got nothing

7 years agodph-lifted-vseg: store pre-concatenated version in PNested
Ben Lippmeier [Fri, 9 Dec 2011 04:41:56 +0000 (15:41 +1100)] 
dph-lifted-vseg: store pre-concatenated version in PNested

7 years agodph-prim-par: follow name changes in streamers
Ben Lippmeier [Fri, 9 Dec 2011 04:41:17 +0000 (15:41 +1100)] 
dph-prim-par: follow name changes in streamers

7 years agodph-prim-seq: shift streamers into their own modules and cleanup
Ben Lippmeier [Fri, 9 Dec 2011 04:40:56 +0000 (15:40 +1100)] 
dph-prim-seq: shift streamers into their own modules and cleanup

7 years agodph-lifted-vseg: support Ordering type
Ben Lippmeier [Wed, 7 Dec 2011 03:11:44 +0000 (14:11 +1100)] 
dph-lifted-vseg: support Ordering type

7 years agodph-lifted-vseg: validate wibbles
Ben Lippmeier [Tue, 6 Dec 2011 07:39:38 +0000 (18:39 +1100)] 
dph-lifted-vseg: validate wibbles

7 years agodph-lifted-vseg: formatting and makefile wibbles
Ben Lippmeier [Tue, 6 Dec 2011 06:26:40 +0000 (17:26 +1100)] 
dph-lifted-vseg: formatting and makefile wibbles

7 years agodph-lifted-vseg: inline and whitespace
Ben Lippmeier [Tue, 6 Dec 2011 06:16:26 +0000 (17:16 +1100)] 
dph-lifted-vseg: inline and whitespace

7 years agodph-lifted-vseg: push indexvs into lifted library
Ben Lippmeier [Tue, 6 Dec 2011 05:42:01 +0000 (16:42 +1100)] 
dph-lifted-vseg: push indexvs into lifted library

7 years agodph-prim-seq: add stream functions to make indexvs
Ben Lippmeier [Tue, 6 Dec 2011 05:02:39 +0000 (16:02 +1100)] 
dph-prim-seq: add stream functions to make indexvs

7 years agodph-lifted-vseg: refactoring to make indexvsPR primitive
Ben Lippmeier [Tue, 6 Dec 2011 03:59:02 +0000 (14:59 +1100)] 
dph-lifted-vseg: refactoring to make indexvsPR primitive

7 years agodph-lifted-vseg: refactor so indexs takes an U.Array
Ben Lippmeier [Tue, 6 Dec 2011 03:48:34 +0000 (14:48 +1100)] 
dph-lifted-vseg: refactor so indexs takes an U.Array

7 years agodph-lifted-vseg: prefer extract on VSegds over extract on SSegds
Ben Lippmeier [Mon, 5 Dec 2011 06:30:39 +0000 (17:30 +1100)] 
dph-lifted-vseg: prefer extract on VSegds over extract on SSegds

7 years agodph-lifted-vseg: push new segment streamers into lifted library
Ben Lippmeier [Mon, 5 Dec 2011 05:45:34 +0000 (16:45 +1100)] 
dph-lifted-vseg: push new segment streamers into lifted library

7 years agodph-lifted-vseg: split segment streamers into own module and cleanup
Ben Lippmeier [Mon, 5 Dec 2011 05:44:59 +0000 (16:44 +1100)] 
dph-lifted-vseg: split segment streamers into own module and cleanup

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