packages feed

gloss-raster-accelerate-1.8.15.0: gloss-raster-accelerate.cabal

Name:                   gloss-raster-accelerate
Version:                1.8.15.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.8,
        accelerate              == 0.15.*,
        gloss                   == 1.8.*,
        gloss-accelerate        == 1.8.*

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

  ghc-options:
        -Wall -O2

  default-language:
        Haskell2010

source-repository head
  type:                         git
  location:                     https://github.com/tmcdonell/gloss-raster-accelerate

-- vim: nospell