-- | Top level hard-wired configuration flags.
--   TODO: This should be generated by the make system
module Data.Array.Parallel.Base.Config
        ( debugCritical
        , debug
        , tracePrimEnabled)
where

-- | 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 flat array primitive to console.
--   The tracing hooks are in `dph-prim-par:Data.Array.Parallel.Unlifted`
tracePrimEnabled        :: Bool
tracePrimEnabled        = False