packages feed

gloss-raster-accelerate-1.9.0.0: gloss-raster-accelerate.cabal

Name:                   gloss-raster-accelerate
Version:                1.9.0.0
Synopsis:               Parallel rendering of raster images using Accelerate
Description:            Parallel rendering of raster images using Accelerate
License:                BSD3
License-file:           LICENSE
Author:                 Trevor L. McDonell
Maintainer:             tmcdonell@cse.unsw.edu.au
Category:               Graphics
Build-type:             Simple
Cabal-version:          >=1.10

Flag cuda
  Description:          Enable the CUDA parallel backend for NVIDIA GPUs
  Default:              True


Library
  Exposed-modules:
        Graphics.Gloss.Accelerate.Render
        Graphics.Gloss.Accelerate.Raster.Array
        Graphics.Gloss.Accelerate.Raster.Field

  build-depends:
        base                    >= 4.6 && < 4.9,
        accelerate              >= 0.15,
        gloss                   == 1.9.*,
        gloss-accelerate        == 1.9.*

  if flag(cuda)
    cpp-options:                -DACCELERATE_CUDA_BACKEND
    Build-depends:
        accelerate-cuda         >= 0.15

  ghc-options:
        -Wall -O2

  default-language:
        Haskell2010

source-repository this
  type:                         git
  location:                     https://github.com/tmcdonell/gloss-raster-accelerate
  branch:                       release/1.9
  tag:                          1.9.0.0

-- vim: nospell