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

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,
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-parmake-gsoc Link : http://ghc.haskell.org/trac/ghc/changeset/8d9edfed74e8fd03933d4e3540f6372c26...
---------------------------------------------------------------
commit 8d9edfed74e8fd03933d4e3540f6372c269de538 Author: Patrick Palka
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@haskell.org http://www.haskell.org/mailman/listinfo/ghc-commits
participants (1)
-
Johan Tibell