[commit: ghc] ghc-parmake-gsoc: Implement the parallel upsweep (#910) (8d9edfe)

Johan Tibell johan.tibell at gmail.com
Mon Mar 17 17:11:51 UTC 2014


I just had reason to have a look at this code. I just want to say thanks
for writing such nice, readable code. I wish all code in GHC had nicely
written Haddock like these. Would make GHC hacking a bit more approachable.


On Tue, Aug 27, 2013 at 4:11 PM, <git at git.haskell.org> wrote:

> Repository : ssh://git@git.haskell.org/ghc
>
> On branch  : ghc-parmake-gsoc
> Link       :
> http://ghc.haskell.org/trac/ghc/changeset/8d9edfed74e8fd03933d4e3540f6372c269de538/ghc
>
> >---------------------------------------------------------------
>
> commit 8d9edfed74e8fd03933d4e3540f6372c269de538
> Author: Patrick Palka <patrick at parcs.ath.cx>
> Date:   Wed Aug 21 16:55:52 2013 -0400
>
>     Implement the parallel upsweep (#910)
>
>     The parallel upsweep is the parallel counterpart to the default
>     sequential upsweep. It attempts to compile modules in parallel by
>     subdividing the work of the upsweep into parts that can be executed
>     concurrently by multiple Haskell threads.
>
>     In order to enable the parallel upsweep, the user has to pass the -jN
>     flag to GHC, where N is an optional number denoting the number of jobs,
>     or modules, to compile in parallel, like with GNU make. In GHC this
> just
>     sets the number of capabilities to N.
>
>
> >---------------------------------------------------------------
>
> 8d9edfed74e8fd03933d4e3540f6372c269de538
>  compiler/main/DynFlags.hs |    8 +
>  compiler/main/GhcMake.hs  |  354
> ++++++++++++++++++++++++++++++++++++++++++++-
>  2 files changed, 359 insertions(+), 3 deletions(-)
>
> Diff suppressed because of size. To see it, use:
>
>     git diff-tree --root --patch-with-stat --no-color --find-copies-harder
> --ignore-space-at-eol --cc 8d9edfed74e8fd03933d4e3540f6372c269de538
>
> _______________________________________________
> ghc-commits mailing list
> ghc-commits at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140317/7171be9c/attachment-0001.html>


More information about the ghc-devs mailing list