name:                   accelerate-io-vector
version:                0.1.0.0
cabal-version:          >= 1.10
build-type:             Simple

synopsis:               Convert between Accelerate and vector
Description:
  This package provides efficient conversion routines between Accelerate arrays
  and those from the vector package.
  .
  Refer to the main /Accelerate/ package for more information:
  <http://hackage.haskell.org/package/accelerate>

license:                BSD3
license-file:           LICENSE
author:                 The Accelerate Team
maintainer:             Trevor L. McDonell <trevor.mcdonell@gmail.com>
homepage:               https://github.com/AccelerateHS/accelerate-io#readme
bug-reports:            https://github.com/AccelerateHS/accelerate-io/issues
category:               Accelerate, Data

extra-source-files:
    README.md
    CHANGELOG.md

library
  build-depends:
          base            >= 4.8 && < 5
        , accelerate      >= 1.3
        , primitive       >= 0.6
        , vector          >= 0.9

  exposed-modules:
        Data.Array.Accelerate.IO.Data.Vector.Generic
        Data.Array.Accelerate.IO.Data.Vector.Generic.Mutable
        Data.Array.Accelerate.IO.Data.Vector.Primitive
        Data.Array.Accelerate.IO.Data.Vector.Storable
        Data.Array.Accelerate.IO.Data.Vector.Unboxed

  other-modules:
        Data.Array.Accelerate.IO.Data.Primitive.ByteArray
        Data.Array.Accelerate.IO.Data.Vector.Primitive.Internal

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

  ghc-prof-options:
        -fprof-auto

  hs-source-dirs:   src
  default-language: Haskell2010

test-suite test-io
  type:                 exitcode-stdio-1.0
  default-language:     Haskell2010
  hs-source-dirs:       test
  main-is:              Test.hs
  ghc-options:          -main-is Test

  build-depends:
        base                    >= 4.8  && < 5
      , accelerate
      , accelerate-io-vector
      , hedgehog                >= 0.5
      , tasty                   >= 0.11
      , tasty-hedgehog          >= 0.1
      , vector

  ghc-options:
        -Wall
        -threaded
        -rtsopts

  other-modules:
      Test.Vector.Storable
      Test.Vector.Unboxed
      Test.Util

source-repository head
  type:     git
  location: https://github.com/AccelerateHS/accelerate-io

-- vim: nospell