[commit: dph] master: Comments only (e1e2e19)
Ben Lippmeier
benl at ouroborus.net
Tue May 3 02:57:42 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/dph
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/e1e2e194d9240b9876273cfeee405da6fe5a0e35
>---------------------------------------------------------------
commit e1e2e194d9240b9876273cfeee405da6fe5a0e35
Author: Ben Lippmeier <benl at ouroborus.net>
Date: Mon May 2 15:55:41 2011 +1000
Comments only
>---------------------------------------------------------------
dph-base/Data/Array/Parallel/Base/Config.hs | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dph-base/Data/Array/Parallel/Base/Config.hs b/dph-base/Data/Array/Parallel/Base/Config.hs
index 18fc59b..0f9b9ba 100644
--- a/dph-base/Data/Array/Parallel/Base/Config.hs
+++ b/dph-base/Data/Array/Parallel/Base/Config.hs
@@ -5,9 +5,20 @@ module Data.Array.Parallel.Base.Config (
, tracePrimEnabled
) where
-debug = False
+
+-- | Enable internal consistency checks for operations that could
+-- corrupt the heap.
+debugCritical :: Bool
debugCritical = False
+
+-- | Enable internal consistency checks.
+-- This is NOT implied by `debugCritical` above. If you want both
+-- you need to set both to `True.`
+debug :: Bool
+debug = False
+
+
-- | Print tracing information for each DPH primitive to console.
-- The tracing hooks are in dph-prim-par/D/A/P/Unlifted.hs
tracePrimEnabled :: Bool
More information about the Cvs-libraries
mailing list