packages feed

accelerate-io-0.13.0.2: accelerate-io.cabal

Name:                   accelerate-io
Version:                0.13.0.2
Cabal-version:          >= 1.6
Tested-with:            GHC >= 7.4
Build-type:             Custom

Synopsis:               Read and write Accelerate arrays in various formats
Description:
  This package provides efficient conversion routines between a range of array
  types and Accelerate arrays.
  .
  Refer to the main /Accelerate/ package for more information:
  <http://hackage.haskell.org/package/accelerate>

License:                BSD3
License-file:           LICENSE
Author:                 Manuel M T Chakravarty,
                        Gabriele Keller,
                        Sean Lee,
                        Trevor L. McDonell
Maintainer:             Manuel M T Chakravarty <chak@cse.unsw.edu.au>
Homepage:               https://github.com/AccelerateHS/accelerate-io
Bug-reports:            https://github.com/AccelerateHS/accelerate/issues

Category:               Compilers/Interpreters, Concurrency, Data, Parallelism
Stability:              Experimental

Extra-tmp-files:        config.status
                        config.log
                        autom4te.cache
                        accelerate-io.buildinfo

Extra-source-files:     configure
                        accelerate-io.buildinfo.in
                        include/accelerate.h


Flag bounds-checks
  Description:          Enable bounds checking
  Default:              True

Flag unsafe-checks
  Description:          Enable bounds checking in unsafe operations
  Default:              False

Flag internal-checks
  Description:          Enable internal consistency checks
  Default:              False

Library
  Include-Dirs:         include
  Build-depends:        accelerate      == 0.13.*,
                        base            == 4.*,
                        array           >= 0.3  && < 0.5,
                        bmp             >= 1.2  && < 1.3,
                        bytestring      >= 0.9  && < 0.11,
                        repa            >= 3.2  && < 3.3,
                        vector          >= 0.9  && < 0.11

  Exposed-modules:      Data.Array.Accelerate.IO
  Other-modules:        Data.Array.Accelerate.IO.BlockCopy
                        Data.Array.Accelerate.IO.ByteString
                        Data.Array.Accelerate.IO.BMP
                        Data.Array.Accelerate.IO.Ptr
                        Data.Array.Accelerate.IO.Repa
                        Data.Array.Accelerate.IO.Vector

  if flag(bounds-checks)
    cpp-options:        -DACCELERATE_BOUNDS_CHECKS

  if flag(unsafe-checks)
    cpp-options:        -DACCELERATE_UNSAFE_CHECKS

  if flag(internal-checks)
    cpp-options:        -DACCELERATE_INTERNAL_CHECKS

  ghc-options:          -O2 -Wall -funbox-strict-fields


  -- Don't add the extensions list here. Instead, place individual LANGUAGE
  -- pragmas in the files that require a specific extension. This means the
  -- project loads in GHCi, and avoids extension clashes.
  --
  -- Extensions:

Source-repository head
  Type:                 git
  Location:             git://github.com/AccelerateHS/accelerate-io.git