packages feed

halide-arrayfire-0.0.2.0: halide-arrayfire.cabal

cabal-version:   3.0
name:            halide-arrayfire
version:         0.0.2.0
synopsis:        Integration between Halide and ArrayFire
description:
  This package provides instances of [Language.Halide.IsHalideBuffer](https://hackage.haskell.org/package/halide-haskell/docs/Language-Halide.html#t:IsHalideBuffer)
  for arrays from the [arrayfire](https://hackage.haskell.org/package/arrayfire) library.

homepage:        https://github.com/twesterhout/halide-haskell
license:         BSD-3-Clause
license-file:    LICENSE
author:          Tom Westerhout
maintainer:
  Tom Westerhout <14264576+twesterhout@users.noreply.github.com>

category:        Language
copyright:       2022-2023 Tom Westerhout
build-type:      Simple
extra-doc-files: README.md
tested-with:     GHC ==9.2.7 || ==9.4.4 || ==9.4.5

common warnings
  ghc-options:      -Wall
  default-language: GHC2021

library
  import:          warnings
  exposed-modules: Language.Halide.ArrayFire
  build-depends:
    , arrayfire       >=0.7.0.0  && <0.8
    , base            >=4.16.0.0 && <5
    , halide-haskell  >=0.0.2.0  && <0.1

  ghc-options:     -Wno-orphans
  hs-source-dirs:  src

test-suite halide-arrayfire-test
  import:         warnings
  type:           exitcode-stdio-1.0
  hs-source-dirs: test
  main-is:        Spec.hs
  build-depends:
    , arrayfire
    , base
    , halide-arrayfire
    , halide-haskell
    , hspec             >=2.9.7 && <3